HomePage » Linux » LinuxUSB


Using USB card reader under Linux

Normally, when the USB reader is pluged in, it can be accessed from /dev/sdax For redhat/fedora, there's an extra setting. Add the following to /etc/modprobe.conf where max_luns must be a number greater then the number of slots on the reader.
options scsi_mod max_luns=8

Reboot is not necessary if you can
  1. Unplug the USB reader
  2. run "rmmod usb_storage"
  3. run "rmmod scsi_mod"
  4. Reattach the USB reader

Then just mount it following the usual drill. For example,
# check to see if your reader is recognized
cat /proc/scsi/scsi
# if so
mkdir /media/flash
mount -t vfat /dev/sda1 /media/flash


On CentOS, USB storage will be automatically mounted on /dev/usbdisk upon detection.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki