USB Pen Drive?

Rick Stevens rstevens at vitalstream.com
Fri Nov 21 02:09:36 UTC 2003


Bryan Anderson wrote:
> Rick Stevens wrote:
> 
>> You need to create filesystems on the pen drive.  Do an
>> "fdisk -l /dev/sda".  See if you get a "/dev/sda1" or something
>> like it.  If you don't, you need to partition the drive and make a
>> filesystem on it using fdisk and "mkfs -t ext3" or "mkfs -t vfat" (for
>> a DOS-compatible filesystem).
>>
>> If you do get a partition, see what the filesystem type is and specify
>> that using the "-t" option of mount:
>>
>>      mount -t vfat /dev/sda1 /mnt/flash
>>
>> (that assumes a vfat filesystem).
> 
> 
> I followed teh instructions above, then tried to mount it again as above 
> and got the same error. However....bit of thinking, I tried mounting it
> with mount -t vfat /dev/sda /mnt/flash (no 1 after the sda) and it 
> works.

Weird.  What does "fdisk /dev/sda" show when it's plugged in?

>       I had to pop the disk into a Windows machine and re-format it
> first (though it WAS formatted as FAT, I re-did it as Fat32).

You could've mounted it with "-t msdos" without the reformat.

> Many, many thanks.

You're welcome.

> Now to try the Clie with USB connection......

Ooooooo!  Don't have a Clie, but my Visor Prism works peachy.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      I won't rise to the occasion, but I'll slide over to it.      -
----------------------------------------------------------------------





More information about the users mailing list