Click to See Complete Forum and Search --> : compact flash
phobik
11-24-2003, 03:38 PM
hi
i have slackware 9.1 installed and want to add a usb compact flash reader.
i have read various other posts but cant seem to get it working at all.
apparently the device should be /dev/sda1 but when i try to mount it i get the error "this is not a block device" or something along those lines.
could someone help me get this working please
cheers
SuperNu
11-24-2003, 04:12 PM
First have to have usb working. If you don't, and you have a usb device then it won't work. Now, the way I got my memory stick reader to work with Red Hat 9 was to open up a console, type tail -f /var/log/messages and plug in my reader into a usb port. When I did this, the messages mentioned which device in /dev was being used. After that, I ran mount -t vfat /dev/sda1 /mnt/usb from the command line as root. Once I verified that mount worked, I unmounted the memory stick reader and added a line to /etc/fstab.
--SN
phobik
11-24-2003, 04:19 PM
hi m8
thanks for the input, here is what i get when i plug the cf reader in.
ov 25 20:19:05 slackbox kernel: hub.c: new USB device 00:10.0-2.3, assigned address 5
Nov 25 20:19:05 slackbox kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Nov 25 20:19:07 slackbox kernel: sda: sda1
Nov 25 20:19:10 slackbox usb.agent[1514]: missing kernel or user mode driver usb-storage
so im guessing i need to compile usb-storage into my kernel, right?
if i do lsmod usb-storage is loaded but unused = me confused
cheers
phobik
11-24-2003, 04:43 PM
Well i managed to get it working as root but not as a normal user.
I get an "access denied to /mnt/cf" error.
I have tried changing the permissions, but when i mount it again the permissions reset themselves.
How do i change the permissions and get them to stick please?
cheers
knute
11-24-2003, 05:30 PM
In your /etc/fstab file you need to add the users option so that users can access it.
I'm not at my comp atm, so I can't provide an example of where it needs to go, but it's where rw or ro would be... as in rw,users.
HTH
phobik
11-24-2003, 05:50 PM
Originally posted by knute
In your /etc/fstab file you need to add the users option so that users can access it.
this is what i have in my fstab
/dev/sda1 /mnt/cf vfat users,umask=000,rw 1 0
however, this dosent work, to get it to work i have to unplug it,plug it back in and then mount it.
im not really fussed at the mo about getting it to mount automatically, if i could access it as a normal user id be happy
cheers
SuperNu
11-25-2003, 12:59 AM
My line from /etc/fstab is /dev/sda1 /mnt/camera auto noauto,rw,user,nosuid,noexec,nodev,sync 0 0. I am sure that I have went a little overboard on the options, but it works perfectly. The thing I would change is to switch the 1 to 0. I don't think that you need it.
--SN