You are not logged in.

#1 2011-01-12 15:48:02

tmccar
Member
Registered: 2011-01-10
Posts: 6

Mount USB drive

I am trying to mount a USB drive, using this command:
mount -t usbfs /dev/sdb1  /usb
When I list the contents of /usb it says:   001   002  devices
What am I doing wrong?

Offline

#2 2011-01-12 15:52:52

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Mount USB drive

lol, follow these steps carefully,

1) search the web for usbfs, learn what it is
2) figure out what the actual filesystem of your usb device is (usually fat32, aka vfat)
3) mount using your usb device's actual filesystem


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2011-01-12 16:02:52

tmccar
Member
Registered: 2011-01-10
Posts: 6

Re: Mount USB drive

It's fat32 but if I use vfat it says "bad superblock, wrong fs type"

Offline

#4 2011-01-12 16:11:47

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Mount USB drive

I don't bother naming the filesystem type when mounting my usb, mount figures it out ok so try without a filesystem type
e.g. mount /dev/sdb1 /usb


You're just jealous because the voices only talk to me.

Offline

#5 2011-01-12 16:17:15

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Mount USB drive

either the filesystem is corrupted or it's not a fat filesystem (anymore)

try, as moetunes suggests, mounting without -t option and see if mount can mount on it's own

and if not please give us the output for fdisk -l /dev/sdb


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2011-01-12 16:25:00

tmccar
Member
Registered: 2011-01-10
Posts: 6

Re: Mount USB drive

Yes, that works without the fs, thanks!

Offline

#7 2011-01-12 16:34:21

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Mount USB drive

great! for future reference, enter mount without any arguments to see what filesystem it used to mount the device as

and mark this thread as solved, have a good day ^_^


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB