|
On one line in /etc/udev/rules.d/local.rules:
BUS="usb", KERNEL="sd?1", SYSFS{product}="USB FLASH DISK",
NAME="%k", SYMLINK=""usbkey"
|
Then restart udev:
Add a suitable entry to /etc/fstab:
/dev/usbkey /media/usbkey auto user,defaults 0 0
|
Be sure the mount point /media/usbkey exists:
$ sudo mkdir /media/usbkey
|
An alternative name might be:
BUS="usb", KERNEL="sd?1", SYSFS_serial="07381C501259", NAME="usb/key%n"
|
Copyright © 1995-2006 [email protected]
|
|