Re: autofs w/ floppy
On Fri, 10 Jan 2003, Colin Watson wrote:
> On Thu, Jan 09, 2003 at 02:30:25PM -0800, David N. Welton wrote:
> > Alvin Oga <aoga@Maggie.Linux-Consulting.com> writes:
> > > - its a bad idea to automount fd.... pop your mounted floppy and
> > > watch things go bonkers
> > Well that's a poor design. If windows and mac can do it, we should be
> > able to as well:-/
> Um. Have you tried pulling out a floppy in Windows after you've, say,
> opened a Word document from it? It does indeed go bonkers, later if not
less likely on a windoze world for screwups but it does occasionally
happen if you pop the fd while the light is still green
and even worst in linux/network world ... since an improperly removed
floppy can tie up your network w/ NFS timeouts ... ls starts to fail,
nfs login starts to fail...
- no way around the "ejected floppy" while its mounted
- from a data standpoint...
if one is copying data from hd to an automounted fd... its not
a big deal that the user hit the eject button at the wrong time
before the system flushed its data to the fd ...
- no script can protect against the user from hitting the eject button
before data is actually written to the fd and not just sitting
in the "floppy cache"
- umount the floppy... and do "ls -la /mnt/floppy"
and sometimes you get data thats still in cache
- dont let users mount a floppy --- problem solved.. guaranteed ...
- what's the point of the floppy ???