[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting and accessing floppy



Joseph wrote:

I'm trying to mount and access floppy, it would seem so simple (as
instructions are everywhere) but I still have a problem and the worse is
I don't know why it is not working.

My /etc/fstab has entry:
/dev/fd0 /mnt/floppy msdos defaults 1 2

I've tried as well:
/dev/fd0 /mnt/floppy vfat user,noauto  0 0

and whenever I try to mount floppy
mount -t msdos /dev/fd0 /mnt/floppy

I get a mess a message:
mount: wrong fs type, bad options, bad superblock on /dev/fd0

What am I doing wrong?
By the way how do I give user permission to mount floppy My /floppy directory has mod 777

Instead of poking around in fstab
Try this:
# cd /mnt
# mkdir flop
Next type in the following three aliases

# alias wflop+='mount -t vfat /dev/fd0 /mnt/flop; cd /mnt/flop; ls -aF --color=auto'
# alias lflop+='mount -t ext2 /dev/fd0 /mnt/flop; cd
/mnt/flop; ls -aF --color=auto'
# alias flop-='cd; umount /mnt/flop'

Now you can access the floppy with one of these:

# wflop+     (if it is a vfat system)
# lflop+     (if it is a ext2 system)

You can do your thing with the floppy now -----

Be sure to do:
# flop-      (when you are finished)

These aliases are so handy, they should be in
everyone's  /root/.bashrc

If you're reluctant to use aliases:
# cd  /mnt
# mkdir flop
# cd
# mount -t vfat (or ext2) /dev/fd0  /mnt/flop
# cd /mnt/flop
# ls -aF --color=auto

# cd; umount /mnt/flop (when you are finished)






Reply to: