I have successfully - apart from one quibble - installed a Zio Smartmedia card reader 
(It may work as a writer too but I have not tried that). The USB drivers are installed
as Kernel Loadable Modules. In my kernel SCSI is precompiled in.

I have a shellscript for extracting camera-written images from the SmartMedia. This 
starts off with some insmod commands for the USB SDDR-09 support and a mount command 
which declares the Zio as /dev/sda1 with a vfat filesystem. (I do not have any
SCSI host adapter or other SCSI devices).

The quibble is that this mount command works fine when fully specified in the
script but not when it is invoked via an entry in /etc/fstab. This means that I
cannot specify the 'user' parameter (since it is an fstab-only feature ) and hence
I cannot permit non-root users to execute that script.

Here are the details:
It works fine when the script has:
     mount   -r -t vfat -onodev /dev/sda1 /zio  || exit 1

It does not work when the script has:
     mount   /zio  || exit 1
and /etc/fstab has:
/dev/sda1      /zio              vfat        nodev,ro,user,noauto,unhide

I then get the error message: "not a valid block device"

I am using Slackware 8.1, Linux 2.4.18 .

Bertie Coopersmith


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to