You are not logged in.
Pages: 1
T2 project has its own hotplug for pupulating /dev.
What do you think about hotplug++?
How this is better/worse than Arch's hwdetect?
to live is to die
Offline
Arch doesn't use hwdetect anymore - it's all done by udev. Re the better/worse question, well, you'll need a C/C++ guru for that - and that's not me.
Offline
These guys have obviously never heard about udev. But then, hotplug++ seems to be faster than udev.
Offline
Arch doesn't use hwdetect anymore - it's all done by udev.
Yes. :oops: But why there is /sbin/hwdetect in initscripts?
to live is to die
Offline
These guys have obviously never heard about udev. But then, hotplug++ seems to be faster than udev.
6.0 Changes
User visible
u/dev (and classic /dev support) - no devfs anymore
They know about udev and use it. But not as good as Arch.
to live is to die
Offline
hwdetect is still used by mkinitrd - that's why it's still there. Expect it to disappear after mkinitcpio migration is complete.
Offline
nah i don't think it will disappear, it's still usefull for getting a MODULES= array.
but it will have no major role on boot anymore, more a debug utility
Offline
nah i don't think it will disappear, it's still usefull for getting a MODULES= array.
but it will have no major role on boot anymore, more a debug utility
I agree. The tool is tiny and still very useful and should stay.
Offline
OK - thanks for the correction.
Offline
You can get a dump of modules for the MODULES array in one line....
modprobe --show-depends -a $(find /sys/devices -name modalias -exec cat {}+) | sort -u | sed -i "s|.*/(^/*).ko|1|g"
Untested..... but still.
Offline
find: missing argument to `-exec'
Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-b] [-o <modname>] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]
sed: no input files
Yay for untested code.
Offline
find: missing argument to `-exec' Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-b] [-o <modname>] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] sed: no input files
Yay for untested code.
damn you - missing semicolon... fix it for me, I have no linux access ATM.
Offline
Pages: 1