View previous topic :: View next topic |
Author |
Message |
gdoubleu Tux's lil' helper
Joined: 07 May 2003 Posts: 80
|
Posted: Thu Aug 21, 2003 7:09 pm Post subject: problems writing to floppy |
|
|
i can mount my floppy (type msdos)
i can read files (created on windows machine) from the floppy and copy/move them to my hard drive
but when i try writing a file to the floppy it seems to work and i can do a ls and get a listing of files, but they are not really there. i take the floppy to a windows machine and nothing is there. i reinsert the floppy into my gentoo machine and do an ls again and nothing. |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Thu Aug 21, 2003 9:52 pm Post subject: |
|
|
thats probably because of the caching. There is a command to flush the cache, but I cant remember it right now. Unmounting the floppy should help though. |
|
Back to top |
|
|
lotusvale Guru
Joined: 06 Mar 2003 Posts: 339 Location: Canada
|
|
Back to top |
|
|
luugin n00b
Joined: 10 May 2003 Posts: 69
|
Posted: Tue Aug 26, 2003 8:01 am Post subject: |
|
|
Did you try the following? ->
mount -t msdos /dev/fd0 /mnt/floppy |
|
Back to top |
|
|
Chris Finch Tux's lil' helper
Joined: 10 Mar 2003 Posts: 106 Location: Darmstadt, Germany
|
Posted: Tue Aug 26, 2003 10:16 am Post subject: |
|
|
You must always unmount a medium before removing it. That goes for CDs, USB devices and especially for floppy disks. It is tempting not to do so, though, as the eject button on a fdd works mechanically.
You can use the sync option when mounting, the effect of which is that physical writing to the medium takes place when you say so and not when your OS thinks it's best.
Lastly, if you prefer an MS-DOS style of working with floppy disks use mtools.
ps: why is this post in documentation? |
|
Back to top |
|
|
|