Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems writing to floppy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gdoubleu
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2003
Posts: 80

PostPosted: Thu Aug 21, 2003 7:09 pm    Post subject: problems writing to floppy Reply with quote

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
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Thu Aug 21, 2003 9:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Fri Aug 22, 2003 4:46 am    Post subject: Reply with quote

try the command "sync" after you write to your floppy.
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
luugin
n00b
n00b


Joined: 10 May 2003
Posts: 69

PostPosted: Tue Aug 26, 2003 8:01 am    Post subject: Reply with quote

Did you try the following? ->

mount -t msdos /dev/fd0 /mnt/floppy
Back to top
View user's profile Send private message
Chris Finch
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 106
Location: Darmstadt, Germany

PostPosted: Tue Aug 26, 2003 10:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum