Differences between version 6 and previous revision of UDev.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Monday, August 22, 2005 8:57:43 am | by CraigBox | Revert |
Older page: | version 5 | Last edited on Thursday, December 30, 2004 11:41:59 am | by CraigBox | Revert |
@@ -2,10 +2,31 @@
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.