Tech Support > Operating Systems > Linux / Variants > Mounting of USB flashdisk under Rh7.3
Mounting of USB flashdisk under Rh7.3
Posted by Stefan Viljoen on February 27th, 2004


Hi guys

I know I can mount the Windows part of my harddisk with

mount /dev/hda /mnt/win -t vfat

I have a 120Mb JetFlash flashdisk that says on its cover that is is
mountable under Linux.

My questions:

1. Which /dev entry do I use?
2. What parameters do I pass to mount? -t usb?
3. Do I need to load a kernel module?

Thanks!
--
Stefan Viljoen
Polar Design Solutions
Software Support Technician

Posted by Dances With Crows on February 27th, 2004


On Fri, 27 Feb 2004 21:25:45 +0200, Stefan Viljoen staggered into the
Black Sun and said:
No, you can't. You mean /dev/hda1 .

mount -t vfat /dev/sda1 /mnt/somewhere

....USB Mass Storage devices are seen as SCSI devices. You'd use
/dev/sda1 for USB pen drives or similar devices unless you have real
SCSI disks connected, at which point you'd use /dev/sdb1 or /dev/sdc1 .
Most USB Mass Storage devices have FAT filesystems on them because
that's the lowest common denominator. You'll have to have the
usb-storage kernel module loaded.

When you plug the device in, do "dmesg | tail -30" immediately
afterwards. If you see something like "device F000:BA22 is not claimed
by any active driver", then you should upgrade your kernel to the latest
version possible; vanilla kernels are at 2.4.24. HTH,

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / Hire me!
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume

Posted by Toni Erdmann on February 27th, 2004


Stefan Viljoen schrieb:
/mnt/win must exist as a directory.

I guess, they are emulated as SCSI drives:
/dev/sda or /dev/sda1
/dev/sdb or /dev/sdb1
have alook in /var/log/messages

-t auto is always a good choice (-t vfat is ok too)

no

Toni



Similar Posts