[wellylug] USB flash disk
Jethro Carr
dodocaptain at paradise.net.nz
Mon Nov 29 07:31:12 NZDT 2004
On Mon, 2004-11-29 at 12:01, Steven Mulvay wrote:
> Hi all, how are you?
> How do I mount a usb flash disk under Linux? Will I need to obtain a
> driver for it first? How do I know what each of my usb ports are named
> as on my system? (eg what should I write for the /dev/ section of the
> mount command) Unfortunately my ability to solve many problems hinges
> on whether or not I can successfully mount and write to a flash disk.
> Thank you very much for your time.
okay,
depending on your distro, the usb ports will probery be something like
/dev/usb0 or /dev/usb1.
To mount it manually, you can run (as root):
---------------------------
(create the directory to be mounted to (only needed to be done once):
mkdir -p /mnt/usbdrive)
(mount the drive):
mount /dev/usb0 /mnt/usbdrive
----------------------
The drive can then be accessed in /mnt/usbdrive.
Once you find the working usb device, if you would like to make it so
that any user can mount the drive, add these lines to the end of
/etc/fstab:
---------
# usb drive
/dev/usb0 /mnt/usbdrive auto noauto,user 0 0
---------
This will cause the drive to be able to be mounted by any user, via
command line or gui (gnome/kde). It will auto detect the filesystem on
the drive, so there is no problem there.
--
-- Jethro
dodocaptain at paradise.net.nz
jethro.carr at jedolinux.com
http://www.jedolinux.com
http://homepages.paradise.net.nz/jethroc
http://homepages.paradise.net.nz/jethroc/cv.html
http://www.wellylug.org.nz
More information about the wellylug
mailing list