Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about floppy files in Linux...



"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).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org