sysfs / udev. How do they work together?
Preparing myself for LPI 101 exam I found a doubt on how Linux manages mounting hardware device on the fly (example flash memory sticks, printer, others storage device, etc). This question isn't LPI specific, I'd just to know a little bit more on this subject.
I think, formerly this task was done by devfs, hotplug and later by hotplug and udev. Am I right? From kernel 2.6 Linux uses SYSFS and udev. Any other piece of software takes care of mounting devices on the fly?
I know the basis use of udev. It's used to "stick" certain device to a certain node (ex. /dev/mydevice) in order to keep that name fixed.
I'd like to know a little more on how sysfs works. Does anybody knows a good source which I could consult?
Thanks in advance, regards,
Matías
|