To mount a USB "flash" drive add the following line to /etc/fstab.
/dev/sda1 /mnt/usbhd vfat noauto,rw,owner,umask=0,users 0 0
do: mkdir /mnt/usbhd
It shouldn't be necessary, but sometimes re-booting at this point is
required for everything to work correctly.
do: mount /mnt/usbhd
The above is working on Whitebox (WBEL) machines.
Comments on the fstab options:
noauto Don't try to automatically mount at boot time.
rw This is a read/write device, not read-only (ro) like a CD.
owner Dang, I forget what this is for.
umask=0 Allows non-root users to write to it.
users Any user can mount or umount it.
0 0 dump & fsck options
To avoid damage to the flash drive, be sure to umount or power down
before removing.
-mj-
Marshall Paul wrote:
> I have several questions about devices and mounting of
> devices. First, how do I determine what devices I
> have? Second, how do I determine what device is the
> USB device. I am trying to read a memory stick.
> Third what mount command would you use to mount the
> USB memory stick once I know what device it is?
>
> Marshall
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss