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

Re: USB Flash stick



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 17 May 2004 15:27, Robin Laing wrote:

> I have found that the usb stick isn't always recognized as /dev/sda1
> but sometimes /dev/sdb1.  I found this by tailing the messages log

One way this can happen is if you forgot to umount it.  Automount (aka autofs) 
is a cool service that monitors the mountpoint (ie, /mnt/flash or whatever) 
and dynamically mounts the associated device on access.  Then a configurable 
period after the last access, eg, 2 seconds, it automatically and cleanly 
unmounts the device.  usbautomount (see the URL in my sig) uses this to make 
USB devices accesses a lot simpler.

> I find that plugging the camera into the computer changes things as
> well.  USB needs more work from my point of view.

There is a devlabel service as well that can make available /dev/sdn at a 
fixed alias depending on what it is, but I didn't look into it yet.

- -Andy

- -- 
Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players
http://warmcat.com/usbautocam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqNiAjKeDCxMJCTIRAnPTAKCDUklFoHP2dyazM1ByrbQoxpLl6wCfSphJ
7yT0OUvJiac4/MeX33c7rcQ=
=mrSh
-----END PGP SIGNATURE-----



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