Questions about floppy files in Linux...

Jerry Feldman gaf at blu.org
Tue Oct 5 07:00:13 EDT 1999


"Kevin M. Gleason" wrote:
> 1. Why is it that when I mount a floppy on /mnt/floppy that I list files
> ls -a and get the last files stored even though that disk is no longer
> inside the machine? Is Linux caching directories? Is there a way to
> clear this?

> 2. what is the specific procedure for mounting an msdos (with long
> filenames) floppy? (Actually, I copied an RPM file downloaded on another
> windows9x  machine and want to read it.)
Linux and Unix cache all IO. You need to mount the floppy after it is inserted into the machine and unmount the floppy before you remove it. 

I would recommend using mtools rather than mount and unmount for this reason. With mtools you can refer to the floppy the same way you refer to it on DOS:
mcopy a:/foo ~/fubar/foo

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list