Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't write to floppy disk

Status
Not open for further replies.

serkanb

Programmer
Jan 30, 2002
19
0
0
TR
Here is my problem:

I mounted floppy...
'mount -t msdos /dev/fd0 /mnt/floppy

and coppied a file to floppy
'cp anyfile /mnt/floppy'

when I use ls comman I could see the file
'ls /mnt/floppy'

but when I tried to see the file from Windows I could't see it.

What's wrong here? Could you please help me?

 
Dear serkanb,
The proper mount command in Linux is :
mount -t vfat /dev/fd0 /mnt/floppy
You must also unmount each floppy before you remove it:
umount -t vfat /dev/fd0 /mnt/floppy
note "umount" not unmount.
Try to unmount the floppy, then mount the floppy, and then do the copy command- (cp /home/mydirectory/filename /mnt/floppy)
then unmount the floppy and carry it over to a windows box and try to look at the file.
When you do the ls command in the floppy directory you can see files coppied there even thought they were never physically written to the floppy device. You must not be in the "floppy" directory to wrtie to the floppy and you must be logged in as the "root" user to have permission to write to a floppy.
Luck,
Vince Vince LaPorte
vincentL@acmc.com
Marshall, MN 56258
 
Vincent is right on the money.
The key here is always umount the floppy.
That is actually when the floppy is written to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top