Setting udev_root to a different 'dir'
Hello -
I just upgraded to kernel 2.6.4 on my Sorcerer Linux. Sorcerer uses devfs.
I installed udev 022. Using the sample scripts and conf files provided I have sucessfully convered devfs -> udev.
However, try as I may, I cannot get udev to use mount point '/devices'. udev _insists_ upon using mountpoint '/udev' even though I have changed all references from '/udev' to '/devices'.
I removed devfs from my kernel and udev still won't setup on '/devices'. Here are the files I changed '/udev' to '/devices':
/etc/udev/udev.conf:
udev.conf.devices renamed from udev.conf +2 -2
@@ -6,10 +6,10 @@ # udev_root - where in the filesystem to place the device nodes -udev_root="/udev/" +udev_root="/devices/" # udev_db - The name and location of the udev database. -udev_db="/udev/.udev.tdb" +udev_db="/devices/.udev.tdb" # udev_rules - The name and location of the udev rules file udev_rules="/etc/udev/udev.rules"
/etc/init.d/udev.sh:
udev.sh.devices renamed from udev.sh +4 -4
@@ -1,9 +1,9 @@ #! /bin/bash # -# udev init script to setup /udev +# udev init script to setup /devices # # chkconfig: 2345 20 80 -# description: manage user-space device nodes in /udev +# description: manage user-space device nodes in /devices #. /etc/rc.d/init.d/functions
@@ -13,7 +13,7 @@ sysfs_dir=/sys bin=/sbin/udev udevd=/sbin/udevd -udev_root=/udev +udev_root=/devices run_udev () {
@@ -86,7 +86,7 @@ rm -f $udev_root/.udev.tdb fi - # propogate /udev from /sys - we only need this while we do not + # propogate /devices from /sys - we only need this while we do not # have initramfs and an early user-space with which to do early # device bring up export ACTIONd
Am I missing something?
Aloha => Beau;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel