Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

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"

Then restart udev:

  $ sudo 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]
Contribue and access the PDF Version