On Sun, 12 Dec 1999, greyn wrote about, Re: Mounting Drives:
>
> I changed my fstab to:
>
> /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,user,noauto,unhide 0 0
> /dev/fd0 /aext2 ext2 noauto,user,unhide 0 0
> /dev/fd0 /avfat vfat noauto,user,unhide 0 0
> /dev/sda /zip ext2 noauto,user,unhide 0 0
> none /dev/pts devpts gid=5,mode=620 0 0
> none /proc proc defaults 0 0
>
> However, when as a user I try:
>
> mount /dev/sda or mount /zip
>
> I get:
>
> mount: wrong fs type, bad option, bad superblock on /dev/sda or too many
> mounted file systems.
>
> Root can still mount the zip or floppy drives which are ext2 formatted.
> Would the file permissions need to be change to access /dev/sda or
> /dev/fd0?
>
> Here are the rights for the devices:
> lrwxrwxrwx 1 root root 8 Nov 30 14:10 cdrom -> /dev/hdc
> brw-r----- 1 root disk 8, 0 Apr 29 1995 sda
> brw-rw-rw- 1 root floppy 2, 0 May 14 1996 fd0
>
> Should I change these?
Yes, thats the problem /dev/sda is not mountable for a user in rw mode.
chmod 644 /dev/sda will make it brw-rw----
666 brw-rw-rw-
> Thanks to Richard and all those who replied to my email.
>
> *************************************************
> [EMAIL PROTECTED]
> Edmonton, Alberta, Canada
> *************************************************
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Merry Xmas.