From: Stephen Tweedie (sct@dcs.ed.ac.uk)
Date: 05/31/93


From: sct@dcs.ed.ac.uk (Stephen Tweedie)
Subject: Re: how to get floppy parameters
Date: 31 May 1993 19:58:38 GMT

On 31 May 93 09:27:42 GMT, almesber@nessie.cs.id.ethz.ch (Werner Almesberger) said:

> FDFLUSH only flushes the buffer cache. The track buffer is still kept.
> (Actually, I wonder what FDFLUSH is supposed to be used for - FDFMTEND
> followed by an open would have almost the same effect.) And the open
> code isn't smart enough to avoid the test if no data is buffered.

Unfortunately, only root can use FDFMTEND. I originally added FDFLUSH
in order to allow verification of floppies in a disk archiver program.
In this case it is important to flush the buffer cache so that you can
be sure that you are reading from the disk, rather than from memory.

Cheers,
 Stephen.