Re: Poor floppy performance in kernel 2.4.10

Nick LeRoy (nleroy@cs.wisc.edu)
Thu, 18 Oct 2001 11:30:17 -0500


On Thursday 18 October 2001 11:17, Ville Herva wrote:

(snip)
> That's propably beacause it syncs the writes on close().
>
> Perhaps you could try the trick Linus suggested in another thread, namely:
>
> sleep 1000 < /dev/fd0 &
>
> mdir
> mcopy
> mdir
> mcopy
> <do whatever>
>
> kill %1
>
> That keeps one (dummy) reference to the floppy device open until you're
> done using it.

Perhaps there should be a pair of "mtools" added: mopen and mclose, that do
basically this. That way it could be a "standard" item, documented in man
pages, etc., not some secret that only the l-k users know. Thoughts?

-Nick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/