linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Setting udev_root to a different 'dir'
@ 2004-03-15 22:50 Beau E. Cox
  0 siblings, 0 replies; only message in thread
From: Beau E. Cox @ 2004-03-15 22:50 UTC (permalink / raw)
  To: linux-hotplug

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 @@
 
 
 # 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	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
 
 #. /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 ACTION­d

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_id\x1470&alloc_id638&op=click
_______________________________________________
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-15 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-15 22:50 Setting udev_root to a different 'dir' Beau E. Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).