Laptops :: Mounting USB Flash Drives



Seems like there are 4 partitions on your flash drive (and it might be a cheap/bad drive). What kind of flash drive is it? How does it show up on a windows computer?
...and if you did want to mount the four partitions, you could do something like this:
Code Sample
$ sudo mkdir /mnt/sda1
$ sudo mkdir /mnt/sda2
$ sudo mkdir /mnt/sda3
$ sudo mkdir /mnt/sda4
$ sudo mount -t vfat /dev/sda1 /mnt/sda1
$ sudo mount -t vfat /dev/sda2 /mnt/sda2
$ sudo mount -t vfat /dev/sda3 /mnt/sda3
$ sudo mount -t vfat /dev/sda4 /mnt/sda4

Note that the "vfat" part assumes your partitions are formatted fat, if they are formatted ext2, you would use "ext2" in place of "vfat"

A classic example of malfunctioning winblows factory formatting. No proper partition table - you mount this as /dev/sda and ignore the partitions.

A better way would be to create a proper partition structure, a single proper partition. This does not make it unreadable under winblows, they aren't stupid enough not to understand a standard.

Quote (chaostic @ Aug. 29 2008,23:55)
Seems like there are 4 partitions on your flash drive (and it might be a cheap/bad drive). What kind of flash drive is it? How does it show up on a windows computer?

It's a PNY 8 gig that shows up as a single 8 gig-ish FAT32 partition in windows

original here.