Re: Floppy handling

From: Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)
Date: Tue Jun 20 2000 - 00:10:51 EST


Am Die, 20 Jun 2000 schrieben Sie:
> Scott Lenser <slenser@cs.cmu.edu> said:

> Use automount. Trick to do so has been documented for ages.

Trick is a little weak. Kludge actually.

> > 3) make sure that the floppy drive busy light is on when their are dirty
> > buffers for the floppy (may not be possible on all/any hardware)
>
> Wears out the disk, perhaps damages heads of the drive. To do this probably
> also implies a gross violation of layering within the kernel.

Why ? You lock drive doors, too. Have the floppy driver interpret
locking door as keeping light on.

> > 4) make sure that all dirty data is written back whenever the device
> > would otherwise become not busy (this should keep the floppy drive light
> > on, may not be appropriate for other kinds of removable media)
>
> This probably implies a gross violation of layering within the kernel.

No more than O_SYNC does. And it won't help you on filesystems that
maintain a flag in the superblock.
  
> Just use the graphical tools your desktop gives you, or use mtools.

No good. Users will use the icons to mount, but simply pull the
floppy when they are done.

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:19 EST