On Sat, 4 Feb 2006 18:44:20 -0700, Richard Fish wrote:

> I've generally found it easier to keep the /dev/sd* names and just
> SYMLINK the names I want.  Example:
> 
> BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
> NAME="%k", SYMLINK="usbkey%n"

The disadvantage of this is that pmount uses the real device name, not
the symlink, so you still end up with devices mounted on inconsistent
directory names in /media. that's why I prefer to do it the other way
round; NAME="somethingdescriptive", SYMLINK="%k".


-- 
Neil Bothwick

Velilind's Laws of Experimentation:
1. If reproducibility may be a problem, conduct the test only once.
2. If a straight line fit is required, obtain only two data points.

Attachment: signature.asc
Description: PGP signature

Reply via email to