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

Re: Mounting floppy. Newbie #61



On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:
| Hi,
| 
| I did a fresh install over the Xmas break.
| 
| Prior to this I saved all the various conf files to a floppy.
| 
| Now I cannot mount the floppy
| 
| # mount -t msdos /dev/fd0 /floppy
| # mount -t ext2 /dev/fd0 /floppy
| # mount -t auto /dev/fdo /floppy
| # mount /dev/fd0
| 
| I am away from the machine at present, so excuse my syntax from memory, 
| but notices relect such things as cannot find msdos file table, blocks 
| ........ lots of verbage, but no mounting.
| 
| I assume the disk has died. Is there anything that I should try.

After running the mount command to mount the floppy you can run
'mount' (no arguments) to display the current mount table.  You should
see the disk listed there along with the correct filesystem type.

| I note that when you copy a file to /floppy it seems to be incredibly 
| quick.  Is it in fact written to the floppy at the same time as it 
| appears on /floppy ?

No.  As Jor-el said it is cached.  This is why killing the power of a
*nix system is much more devastating than on a DOS/windows system.  If
you either 'umount' the floppy or 'sync' you will see the drive light
blink as the data is actually written to the disk.  Always remember to
umount _before_ removing the disk!  Also remember to 'mount' before
writing to the disk!  Otherwise you are simply copying data to part of
your hard disk.  What I like to do is create a file named
" floppy not mounted" in /floppy so that if I do 'ls /floppy' without
the floppy mounted I see that "message".  You can also make /floppy
non-writable in which case you'll get errors if you try to copy data
to it before you have mounted the floppy disk.

-D

-- 

If your life is a hard drive,
Christ can be your backup.



Reply to: