View Full Version : saving in linux

02-13-2003, 03:05 PM
I'm trying to save my c program to a disk, but it won't work...its doing really weird things, its saving to floppy, then when I go to mount it, the mount option is not there, i'm actually just re-saving after some changes and maybe that's why, i restarted my comp and everything, and i still can't save it to my disk...HELP!!:confused:

02-13-2003, 03:11 PM
Im not sure if this is the problem, I have never used a floppy in Linux, but everytime you mount the disk you also have to unmount it.

//Edit: Please dont post the same question in two different forums.

02-13-2003, 03:17 PM
there's no unmount either, it changed the floppy drive into a textfile....i'm using the KDE desktop

02-13-2003, 03:35 PM
umount (http://www.rt.com/man/umount.8.html)

02-15-2003, 08:10 AM
I am just curious. Did you figure out the problem? Also are you aware of the tools most distros have for using msdos floppies under linux. mdir mcopy mformat etc.

If you want to fiddle with MSDOS floppies, without having to mount them, you can use a package of utility programs called 'mtools'. It consists of clones of some MSDOS commands, e.g. 'mdir' is the same as 'dir' in MSDOS. If you want to use mtools, read the man page, to find out what you can do. One simple thing that you can try is to insert an MSDOS floppy in the floppy drive and type mdir a:, which does the same thing as 'dir a:' would do in MSDOS. You don't have to be root to use mtools.

This has a complete explanation