Formatting code for LinuxUSB


show source only

{{parent page="Linux"}}

===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
1) run "rmmod usb_storage"
1) run "rmmod scsi_mod"
1) Reattach the USB reader

Then just mount it following the usual drill. For example,
%%(bash)
# 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.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki