Hello.

I have recently purchased a M-Systems DiskOnKey, and while I can read
from and write to it on my Linux box (RedHat 7.2, kernel 2.4.17), I am
experiencing some problems with mounting the device.

When I insert the device into the USB port an entry is created in
/etc/fstab:

  /dev/sda1    /mnt/diskonkey    auto    noauto,owner,kudzu 0 0

The only way I have been able to mount the device is with

  mount /dev/sda /mnt/diskonkey

as root. If I try as any other user I get

  mount: only root can do that
  
Whilst the device works when mounted as root and I can read from it with
a normal user, I can only write to it if I su to root, which is rather
annoying.

I have the following questions for which I hope somebody on the list
will have answers to:

1) Why can't I mount the device when I am logged in as a non-root user?
The options in the fstab entry are the same as for the floppy device (as
well as the filesystem type 'auto'), and this I can mount as any
non-root user with

  mount /mnt/floppy

Is it because the DiskOnKey device is a SCSI device?

2) Where does the fstab entry come from in the first place? Kudzu?
Hotplug? Any pointers on how to make configure the "thing" that creates
the fstab entry so a non-root user can mount the device would be great.


Regards,
-- 
Janus Christensen ______________________________________________________
I want something that'll give me the stamina of a young werewolf, the
vision of a shaman, the thoughts of a serial killer and the gentleness
of a hungry vampire bat.  --  Spider Jerusalem, Transmetropolitan

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to