Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
UDev
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
[UDev] is the UserSpace-based replacement for DevFs, an obsolete LinuxKernel [Module] that creates entries for available devices in <tt>/dev</tt>. [UDev] is available in [Kernel] 2.5 and newer and uses HotPlug and the <tt>/sys</tt> FileSystem. See also: * [Red Hat Magazine - Configuring Devices with udev | http://www.redhat.com/magazine/002dec04/features/udev/] * [Writing udev rules|http://www.reactivated.net/udevrules.php] * [Gentoo Customizing udev HOWTO|http://gentoo-wiki.com/HOWTO_Customizing_UDEV] ---- !!Notes (WikiGnome~s split out to another page if you feel the need) !! Troubleshooting __Q:__ Why doesn't the [HAL] and [UDev] combination pick up my device events (ie plugging in a KeyDrive) in DebianLinux? <br> __A:__ You have to add the user to the "plugdev" group, else it won't work. !! Force a USB storage device to a specific mount point DanielLawson writes on the [NZLUG] list: There are a couple of ways of doing this. If your distribution uses udev, you can make a udev rule to create a /dev entry for a specific device, based on some criteria. I've used the USB serial #, for example, to map my USB harddisk to /dev/external and my USB flash disk to /dev/memorystick. You can then use normal fstab rules for these mounts. Another option, which works with most FileSystem~s (not [NTFS] it seems), is to get the UUID of the filesystem, and use that as an fstab(5) rule. If you run the blkid program as root it will list all filesystems present on your system, and their UUIDs if they are available. You can then add a rule to fstab that looks like: =UUID=42CB-5356 /media/external vfat rw,user,noauto 0 0= blkid is provided by the libblkid1 package under [Ubuntu] (and [Debian] Sarge, I believe). These approaches should all integrate reasonably well with the standard automounting facilities available in modern distributions.
10 pages link to
UDev
:
FedoraNotes
UPSNotes
HotPlugNotes
DeviceDriver
DevFs
HAL
Video4Linux
LircNotes
RadioTuner
OmniVisionWebCam