mounting one usb interface (from 2 identified)

John Wendel jwendel10 at comcast.net
Fri Nov 23 03:23:27 UTC 2012


On 11/22/2012 06:41 PM, Ranjan Maitra wrote:
> sudo mount  /dev/sdb /mnt/myusb

The "blkid" command will give you more info about the device

sudo blkid -p /dev/sdb

will show you the partition type ( like PTTYPE="dos" ), if there is one.

sudo blkid -p /dev/sdb1

will show you the filesystem type of partition 1

/dev/sdd1: LABEL="WD1000" UUID="694b6f8b-42e6-49e8-be51-5806e5e315e9" 
SEC_TYPE="ext2" VERSION="1.0" TYPE="ext3" USAGE="filesystem" 
PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x83" PART_ENTRY_NUMBER="1"

try

sudo mount /dev/sdb1 /mnt/myusb

The -t argument takes a filesystem type - "vfat" is very commonly used 
on usb devices, so try

sudo mount -t vfat /dev/sdb1 /mnt/myusb

But mount should figure this out automagically.

Regards,

John




More information about the users mailing list