[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB stick

On Monday 04 September 2006 19:51, Gilles SICHE wrote:
> Hi there,
> sorry about the basic quality of the question : I have a sarge distribution
> on a laptop and I would like to install a USB memory stick. I'm afraid I
> don't know how to go about it!

Not sure if this will work for sarge (this is on unstable), but ...

install the udev package
look in /usr/share/doc/udev/writing_udev_rules

Here I my rules (stored in /etc/udev/rules.d/01akcrules) and ignoring the mail 

# Portable Flash Storage
 BUS=="usb", SYSFS{product}=="JUMPDRIVE ELITE", KERNEL=="sd?1",  NAME="flash", 
SYMLINK="jumpdrive flash"
 BUS=="usb", SYSFS{product}=="USB DISK 2.0", KERNEL=="sd?1",  NAME="flash" , 
SYMLINK="integral_storage flash"

Then I have the following entry in /etc/fstab
/dev/flash      /media/flash    vfat    rw,user,noauto  0       0

I think the  following is unstable only

KDE notices it, and asks what I wish to do - will mount it automatically

Alan Chandler

Reply to: