GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Flash Memory |
On one line in /etc/udev/rules.d/local.rules:
BUS=="usb", KERNEL=="sd?1", SYSFS{product}=="USB FLASH DISK", NAME="%k", SYMLINK=""usbkey" |
$ sudo restart udev |
/dev/usbkey /media/usbkey auto user,defaults 0 0 |
$ sudo mkdir /media/usbkey |
An alternative name might be:
BUS=="usb", KERNEL=="sd?1", SYSFS_serial=="07381C501259", NAME="usb/key%n" |