Using the floppy drive

The following commands allow use of the floppy drive with msdos disks:
volcheck
check to see if a floppy is in the drive
The commands below will work only after you run volcheck.
ls -l /floppy/floppy0/.
check the contents of the disk
df -k /floppy/floppy0
check free space on the floppy
cp file /floppy/floppy0/
copy a file to the floppy without conversion
eject floppy
unmount and eject eject the floppy from the drive
unix2dos -ascii file /floppy/floppy0/file
copy and convert an ascii file from unix home dir to floppy
dos2unix -ascii /floppy/floppy0/file file
copy and convert an ascii file from floppy to home dir

Once you have run volcheck, the floppy will be mounted on /floppy/floppy0, and normal unix commands such as cp, ls, and rm can be used to manipulate files on the floppy.

If you have a large file that won't fit on a floppy, you may want to try compressing it with gzip. An msdos version of gzip can be found in /src/msdos/.


SSD 22-Dec-94