On Mon, 2004-11-29 at 12:56 +0000, John A. Kinsella wrote:
> I'm sure there is a simple explanation?
>> When I mount my usb stick I just enter (as root)
> mount -t vfat /dev/sdc1 /mnt/flash
>> but how do I know which letter/number?
kinda going off topic.
If your using udev you can write a rule so that whenever a certain
device is attached you can assign it to /dev/device or to that effect.
Using the serial number of the usbstick the all you have to do is to
edit your fstab and add a entry for
/dev/usbstick /mnt/usbstick defaults 0 0
a rule that i use is.
The rule would go in /etc/udev/rules.d/
For more information on writing rules you can go here.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!