Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




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]

  Published under the terms fo the GNU General Public License Design by Interspire