Skip to contentSkip to conversation

How to use udev ?

DISCUSSION John D. Coleman 2 participants 2 messages Apr 12, 2004

lore
Share & tools
lore
#0 lore raw

This message is intended primarily for the developer of udev but in case someone else has these same questions, I'm sending it to the mailing list.

#1
I went to
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel & clicked on
http://sourceforge.net/mailarchive/forum.php?forum=linux-hotplug-devel.
I then received this message :

ERROR

Either your mailing list name was misspelled or your mailing list has not been archived yet. If this list has just been created, please retry in 2-4 hours

Is the mailing list new or misspelled ?

#2
I downloaded udev-024.tar.gz and while reading the README file : "Make sure that you have the latest version of the linux-hotplug scripts". I followed the given URL and found the following files:
diethotplug-x.x
fxload
hotplug
hotplug-base
hotplug-core
hotplug-fxload
hotplug-utils
sysutils
udev
+ a few documents
QUESTION: Which one of these files is the required scripts? and what are these files ? An index in this directory would be nice.

#3 - My main question
After I install udev, can I delete my /dev directory ? As long as I don't boot anything other than Linux-2.6.x.

#4
After udev is installed, will all programs then start looking for devices using udev or must the source code for those programs be changed specifically to use udev?

-------------------------------------------------------
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

#1 lore raw
Quoted 12 lines · John D. Coleman

This message is intended primarily for the developer of udev but in case someone else has these same questions, I'm sending it to the mailing list.

#1
I went to
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel & clicked on
http://sourceforge.net/mailarchive/forum.php?forum=linux-hotplug-devel.
I then received this message :

Quoted 7 lines

ERROR

Either your mailing list name was misspelled or your mailing list has not been archived yet. If this list has just been created, please retry in 2-4 hours

Is the mailing list new or misspelled ?

No, and no. sf.net mailing list archives suck. Use either of the following ones instead:

	http://marc.theaimsgroup.com/?l=linux-hotplug-devel&r=1&w=2

	http://news.gmane.org/gmane.linux.hotplug.devel

(the gmane.org one is much nicer to read mail threads)

Quoted 8 lines

#2
I downloaded udev-024.tar.gz and while reading the README file : "Make sure that you have the latest version of the linux-hotplug scripts". I followed the given URL and found the following files:
diethotplug-x.x
fxload
hotplug
hotplug-base

Quoted 8 lines

hotplug-core
hotplug-fxload
hotplug-utils
sysutils
udev
+ a few documents
QUESTION: Which one of these files is the required scripts? and what are these files ? An index in this directory would be nice.

See the linux-hotplug.sf.net web site download area for the latest version of the scripts. Or just rely on your distro to keep you updated :)

Quoted 3 lines

#3 - My main question
After I install udev, can I delete my /dev directory ? As long as I don't boot anything other than Linux-2.6.x.

If you are brave, yes. But I would not suggest doing that, if you follow the directions, a ramfs will be mounted on top of your current /dev allowing you to run 2.4 kernels also. So keep those device nodes around, you might need them sometime

Quoted 4 lines

#4
After udev is installed, will all programs then start looking for devices using udev or must the source code for those programs be changed specifically to use udev?

Programs do not "look for devices using" anything. They just refer to device nodes in /dev. If you have written udev rules that name your devices differently from what your program is normally expecting, then you will have to reconfigure your program to point to the proper /dev file for the device.

Hope this helps,

greg k-h

-------------------------------------------------------
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