Re: add to the kernel TODO

Helge Hafting (helge.hafting@c2i.net)
Tue, 16 Mar 1999 17:20:14 +0100


> > > The other thing is "what happens when the eject isn't a request?" as
> > > with old floppy drives. If you wanted to get clever you could "detect
> > > disk change" and force unmount the device (possibly killing processes)
> > > with a kernel message about lost data.
> >
> > Why not simply modify the floppy driver to keep the floppy motor
> > on while the disk is mounted? People are `trained' not to eject
> > the disk while the light is on....
> Because I keep my Tripwire diskette in the drive... And it's the only diskette
> that ever gets there... I remove it *really* infrequently. And leaving the
> motor running for such a long period of time surely isn't healthy,

A better solution is to keep the motor on as long as there are outstanding
read/write requests, then stop it.
Ejecting such a floppy shouldn't damage the filesystem, although it
might annoy applications.

Helge Hafting

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