Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email 



USB MEMORY STICKS and DIGITAL CAMERAS


In most modern distros the USB-stick and digital camera are automounted on /mnt/removable . . . the "removable"directory is auto-created and removed after you plug out the device.

If this is not the case: USB sticks, digital cameras, and also memory sticks can be mounted as "mass storage devices" . . . . there is a simple trick if they are not automounted:

CODE
$ su
< password >
# modprobe usb-storage

CODE
# fdisk -l

( the -l is the letter L and not the number 1 )

This will show all the partitions on harddrisk and removable devices
Take a look on what /dev device the USB-storage is mounted ( we assume for this example /dev/sda1 )

Then:

CODE
# mkdir /mnt/storage

( make a directory for it )

then mount it:

CODE
# mount /dev/sda1 -t vfat /mnt/storage

If anything is already stored on the memory stick:

CODE
# ls /mnt/storage

( will show you the files )

Now you can use the cp command to copy files to and from your memory stick.


Bruno



PS: More in depth info Here and Here


-- Sep 4 2003 ( Revised Dec 12 2005 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email