From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Beau E. Cox" Date: Mon, 15 Mar 2004 22:50:08 +0000 Subject: Setting udev_root to a different 'dir' Message-Id: <200403151250.08987.beau@beaucox.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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 2004-03-15 02:15:08.000000000 -1000 +++ udev.conf.devices 2004-03-15 11:40:26.000000000 -1000 @@ -6,10 +6,10 @@ =20 =20 # udev_root - where in the filesystem to place the device nodes -udev_root=3D"/udev/" +udev_root=3D"/devices/" =20 # udev_db - The name and location of the udev database. -udev_db=3D"/udev/.udev.tdb" +udev_db=3D"/devices/.udev.tdb" =20 # udev_rules - The name and location of the udev rules file udev_rules=3D"/etc/udev/udev.rules" /etc/init.d/udev.sh: --- udev.sh 2004-03-15 02:15:08.000000000 -1000 +++ udev.sh.devices 2004-03-14 23:53:30.000000000 -1000 @@ -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 =20 #. /etc/rc.d/init.d/functions =20 @@ -13,7 +13,7 @@ sysfs_dir=3D/sys bin=3D/sbin/udev udevd=3D/sbin/udevd -udev_root=3D/udev +udev_root=3D/devices =20 run_udev () { @@ -86,7 +86,7 @@ rm -f $udev_root/.udev.tdb fi =20 - # 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 ACTION=ADd Am I missing something? Aloha =3D> 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_id=1470&alloc_id638&op=3Dclick _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel