On Fri, 13 Sep 2002 12:25:18 +1200 Linux <[EMAIL PROTECTED]> wrote: > What is the syntax for the mount command for RH6.1 for the floppy? > > > Thanks > > Mike > -----Original Message----- > From: Anthony E. Greene > Sent: Friday, 13 September 2002 10:49 > To: [EMAIL PROTECTED] > Subject: Re: mount command for 6.1 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 13-Sep-2002/09:39 +1200, [EMAIL PROTECTED] wrote: > >I have to add a driver via a floppy, but I could not mount the > >floppy > > > >The normal mount /mnt/floppy or mount /dev/fd0 caused the machine > >to spew garbage about wrong formats > > > >The /etc/fstab shows the floppy as ext2 fs should I change it to > >"auto"? > > Yes. > > >Is there a special syntax for mounting a floppy onto a RH 6.1 > >system? > > No. >
The standard form of the mount command, is mount -t type device dir where t is the filesystem type (msdos, ext2, etc.) and device in this case is the first floppy drive (/dev/fd0). Lastly, dir is the mountpoint ( a directory on the 'root' filesystem / ). So, for example, to mount an msdos floppy in the first floppy drive to /mnt/floppy, you would as root: mount -t msdos /dev/fd0 /mnt/floppy to mount a Linux (ext2) floppy in the first floppy drive to /mnt/floppy. you would as root: mount -t ext2 /dev/fd0 /mnt/floppy This assumes that the mountpoint (/mnt/floppy) exists, and that the floppy disk is a 'normal' one, not something with 1.68 mb or such. There is much more to the mount command, which also relates to the /etc/fstab file. If you do: man mount you can get all the details. Remember to unmount the floppy before removing it ( umount /dev/fdo ); notice that there is only one 'n' in the command...... Regards, Tom -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list