Resources for “udev—Persistent Device Naming in User Space”
June 1st, 2004 by Greg Kroah-Hartman in
udev can not be described fully in this short article. The full release of udev is available at www.kernel.org/pub/linux/utils/kernel/hotplug. It also has been packaged and is available in most Linux distributions that use the 2.6 kernel, including Red Hat Fedora, Gentoo, Debian and SuSE.
A number of helper programs are included in the udev package that can be used in a variety of ways. See the thorough man pages provided with the udev program for more information on how to use them and what they are used for. udev also has the ability to control the permissions on the /dev entries, which is necessary for managing a /dev tree for a multiuser system. See the udev man page for details on how to do this.
If, after all of the documentation has been read and the example configuration files have been studied, anyone has any further questions about udev and how to use it, the linux-hotplug-devel mailing list is the place to turn. It can be reached at linux-hotplug-devel@lists.sourceforge.net, with full archives available to search at marc.theaimsgroup.com/?l=linux-hotplug-devel or news.gmane.org/gmane.linux.hotplug.devel.
LANANA's current device list: www.lanana.org/docs/device-list/devices.txt.
This article is based on the Ottawa Linux Symposium 2002 paper on udev: www.kroah.com/linux/talks/ols_2003_udev_paper/Reprint-Kroah-Hartman-OLS2003.pdf.
udev vs. devfs
For a detailed description of how udev compares with devfs: www.kernel.org/pub/linux/kernel/hotplug/udev_vs_devfs.
If anyone insists on comparing the two even further, read these e-mail threads, in the order in which they happened:
“devfs to be obsoleted by udev?”: marc.theaimsgroup.com/?t=106253338400006. This occurred when devfs was marked OBSOLETE in the 2.6 kernel source.
“devfs vs. udev”: marc.theaimsgroup.com/?t=106553049900002. A very long thread, with occasional flashes of strange behavior by a lot of uninformed people.
“DEVFS is very good compared to UDEV”: marc.theaimsgroup.com/?t=107221474500004. Again, another long thread that really doesn't say anything new, but it allows for those who have not already stated their opinion to do so.
“udev and devfs—The final word”: marc.theaimsgroup.com/?t=107283068500001. A long thread where the udev author gets fed up with the devfs vs. udev rants and tries to put the topic to rest. Unfortunately, this does not seem to have happened.
“removable media revalidation—udev vs. devfs or static /dev”: marc.theaimsgroup.com/?t=107298929800005. A good thread about how udev can try to handle removable media the same way devfs does. Pretty civil thread for the most part.
“devfs vs udev, thoughts from a devfs user”: marc.theaimsgroup.com/?t=107641609100052. Proof, that no matter how hard the udev author tries, some people still want to drag up this thread again and try to beat the topic to death. Nothing is brought up here that has not been discussed in the past threads.
Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Sorry, offer available in the US only. International orders, click here.
Subscribe now!
Recently Popular
| Linux HOWTO: Video Editing Magic with ffmpeg | Jul-23-08 |
| Man vs. Myth: Greg Kroah-Hartman and the Kernel Driver Project | Jul-21-08 |
| Google Gadgets for Linux | Jul-21-08 |
| Building a Call Center with LTSP and Soft Phones | Aug-25-05 |
| Review: HP 2133 Mini-Note | Jul-16-08 |
| Boot with GRUB | May-01-01 |
Featured Videos
Non-linear video editing tools are great, but they're not always the best tool for the job. This is where a powerful tool like ffmpeg becomes useful. This tutorial by Elliot Isaacson covers the basics of transcoding video, as well as more advanced tricks like creating animations, screen captures, and slow motion effects.
Shawn Powers reviews the HP Mini-Note portable computer.
Thanks to our sponsor: Silicon Mechanics
Silicon Mechanics is a leading manufacturer of rackmount servers, storage, and high performance computing hardware. The best warranty offerings available are backed by experts dedicated to customer satisfaction.
From the Magazine
August 2008, #172
There's nuttin like a Cool Project to give you some relief from the summer heat, so get out your parka cuz we got a bunch of em. First up is the BUG, not a bug, The BUG. It's got a GPS, camera and more, in a hand-sized package that's user programmable. The BUG does everything. It's both a floor wax and a dessert topping. Get one now. Need a software version of a Swiss Army knife? Take a look at Billix, and don't leave home without it. Then, chew on this one, an X server on a Gumstix device driving an E-Ink display. Need more storage? How about 16 Terabytes? Can do.
And, of course, we have the usual cast of characters: Marcel, Reuven, Dave, Kyle, Doc, plus the new kid on the block Shawn Powers. But it doesn't stop there: build a MythTV box on a budget, build your own GIS system, set up the tools to monitor your enterprise and more. Finally, remember The War of the Worlds? Now you can play too.
Delicious
Digg
Reddit
Newsvine
Technorati






