On Fri, 10 Dec 1999,  greyn wrote about,  Mounting Drives:
> I would like to mount my floppy, cdrom and zip drives while logged in as a
> normal user(not root). I tried adding these lines to my /etc/fstab:
> 
> /dev/cdrom     /cdrom      iso9660     ro,users,noauto,unhide
> /dev/fd0       /floppy     ext2        users,noauto,unhide
> /dev/sda       /zip        ext2        users,noauto,unhide

There is your problem, its "user" not "users".
The unhide means show hidden files Lawson.

It is advised to add a 0 0 at the end of the line also, that tells fsck
what to do, 0 0 is do nothing. 

> My entire fstab is:
> 
> /dev/hdb2      swap        swap        defaults   0   0
> /dev/hdb3      swap        swap        defaults   0   0
> /dev/hda1      /           ext2        defaults   1   1
> /dev/hda2      /downloads  ext2        defaults   1   1
> /dev/hdb1      /common     vfat        defaults   1   0
> /dev/cdrom     /cdrom      iso9660     ro,users,noauto,unhide
> /dev/fd0       /floppy     ext2        users,noauto,unhide
> /dev/sda       /zip        ext2        users,noauto,unhide
> none           /dev/pts    devpts      gid=5,mode=620  0   0
> none           /proc       proc        defaults        0   0
> 
> I then attempt to mount them using:
> 
> mount /dev/fd0
> 
> However, I get the message:
> 
> mount: wrong fs type, bad option, bad superblock on /dev/sda,
> or too many mounted file systems

That means the floppy has no ext2 superblock, its quite possably a DOS
floopy right, so the fstab line would have msdos vfat or fat instaed of
ext2.

> If I try:
> 
> mount /dev/fd0 /floppy
> 
> I get the message:
> 
> mount: only root can do that

That is normal its a security measure,  a user can only define one device.

> I can successfully mount them as root using:
> 
> mount /dev/sda /zip

That answers the security thing then above. root can a user cant.

Edit fstab properly then try again.

> 
> Is there something obvious that I am missing??
> 
> TIA, 
> greyn
> 
> *************************************************
> [EMAIL PROTECTED]
> Edmonton, Alberta, Canada
> *************************************************
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

Reply via email to