[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

USB SmartMedia card reader: I have to "force" /dev/sda1 to appear.



I have the hotplug package and all the modules I think I need to use the
Uno USB SmartMedia card reader (usb-storage, usb-ohci, usb-uhci,
usbcore).  /etc/fstab contains the line:

/dev/sda1       /mnt/card    vfat    user,noauto        0 0

The device /dev/sda is present whenever the card reader is plugged in,
but I need to mount /dev/sda1 in order to get to the files.  Whenever I
try to do this as a user, I have the problem that /dev/sda1 does not
exist.  So I have to do this silly routine to make it appear:

$ su
Password:
# mount /dev/sda /mnt/card/
mount: you must specify the filesystem type
# ls -l /dev/sd*
lr-xr-xr-x    1 root     root           33 2004-02-09 13:10 /dev/sda ->
scsi/host1/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           34 2004-03-08 16:42 /dev/sda1 ->
scsi/host1/bus0/target0/lun0/part1
lr-xr-xr-x    1 root     root           33 2004-03-08 16:34 /dev/sdb ->
scsi/host2/bus0/target0/lun0/disc
# exit
$ mount /mnt/card/
$ mount
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3
(rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/ide/host0/bus0/target0/lun0/part3 on /home type ext3 (rw)
/dev/ide/host0/bus0/target1/lun0/part1 on /scratch type ext2 (rw)
/dev/ide/host0/bus0/target0/lun0/part4 on /var type ext3 (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/scsi/host1/bus0/target0/lun0/part1 on /mnt/card type vfat
(rw,noexec,nosuid,nodev,user=adam)

I don't think I should have to do that every time I want to use the card
reader -- anyone know what I've set up wrong?

Thanks,
Adam



Reply to: