lkml.org 
[lkml]   [1999]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: add to the kernel TODO
Date
From

> > > 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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.028 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site