On Sun, 12 Dec 1999, greyn wrote about, Re: Mounting Drives:
> On Sat, 11 Dec 1999 [EMAIL PROTECTED] wrote:
>
> > One thing we haven't mentioned yet, I think. Try
> > -rwsr-xr-x 1 0 0 45924 Feb 11 1999 /bin/mount*
>
> Looks like:
> -rwsr-xr-x 1 0 1 55360 Aug 1 13:16 /bin/mount*
> Should be good. What do the numbers mean(specifically the third one)?
>
> > Somebody pointed out that zip disks are normally partitioned, and
> > normally only the 4th partition is used. I'd use bpe to see what was on
> > the disk.
> I know whats on the disks as I can see them as root. How would I use
> bpe(the man page seems a little vague)?
>
> > Show us a user trying to mount /avfat or /aext2 or /cdrom. Include the
> > IO errors that precede the mount: message if there is no medium in the
> > drive :-)
>
> Floppy not in:
> mount /aext2
> mount: /dev/fd0 is not a valid block device
>
> Floppy in:
> mount /aext2
> mount: wrong fs type, bad option, bad superblock on /dev/fd0 or too
> many mounted file systems.
This proves or at the very least points to a floppy which is not a ext2
formated floppy.
> Changed permissions to:
> brw-rw-rw- 1 root disk 8, 0 Apr 29 1995 sda
> brw-rw-rw- 1 root floppy 2, 0 May 14 1996 fd0
> Didn't seem to help.
I have a slackware 7.0 system,
ls -al /dev/fd0
brw-rw---- 1 root floppy 2, 0 May 14 1996 /dev/fd0
Place any sort of floppy in drive a: (/dev/fd0).
At this minute i am root.
sys3:~# mke2fs /dev/fd0
mke2fs 1.15, 18-Jul-1999 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
184 inodes, 1440 blocks
72 blocks (5.00%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
184 inodes per group
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
the line in /etc/tstab
/dev/fd0 /floppy ext2 noauto,user 0 0
ls -al /bin/mount
-rwsr-xr-x 1 root bin 55360 Aug 1 19:16 /bin/mount*
go to normal user.
sys3:~# exit
logout
sys3:~$ whoami
pa3gcu
sys3:~$ mount /floppy
sys3:~$ ls -al /floppy/
total 17
drwxr-xr-x 3 root root 1024 Dec 12 18:46 ./
drwxr-xr-x 22 root root 4096 Dec 12 18:41 ../
drwxr-xr-x 2 root root 12288 Dec 12 18:46 lost+found/
sys3:~$
I conclude that your floppy is NOT an ext2 formatted floopy.
>
> I am the only user of this machine but I would like to stay away from
> using the root account if it is not neccessary. I can access the cdrom
> through workbone(shell cd player).
>
> PS. I am using Slackware 7.
>
> *************************************************
> [EMAIL PROTECTED]
> Edmonton, Alberta, Canada
> *************************************************
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Merry Xmas.