Skip to contentSkip to conversation

udev-076 and /lib/udev/devices

DISCUSSION Matthew Burgess 2 participants 2 messages Nov 30, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

In the RELEASE-NOTES for udev-076, it states:

"Also /lib/udev/devices is recommended as a directory where packages or the user can place real device nodes, which get copied over to /dev at every boot."

This suggests that udev does this copying itself. However, in README it states:

"The content of /lib/udev/devices directory should be copied over to the
tmpfs mounted /dev, to provide the required nodes to initialize udev."

This suggests that it is the job of a bootscript to copy the devices across, and a quick test/grep of the source suggests that, indeed, udev won't do any such copying itself.

Could someone confirm this for me please?

Thanks,

Matt.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 11 lines · Matthew Burgess

Hi,

In the RELEASE-NOTES for udev-076, it states:

"Also /lib/udev/devices is recommended as a directory where packages or the user can place real device nodes, which get copied over to /dev at every boot."

This suggests that udev does this copying itself. However, in README it states:

Quoted 8 lines

"The content of /lib/udev/devices directory should be copied over to the
tmpfs mounted /dev, to provide the required nodes to initialize udev."

This suggests that it is the job of a bootscript to copy the devices across, and a quick test/grep of the source suggests that, indeed, udev won't do any such copying itself.

Could someone confirm this for me please?

The boot script is expected to mount tmpfs on /dev, copy the initial and static nodes from /lib/udev/devices and then start udevd.

Kay

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel