Re: Floppy handling

From: Leon Brooks (leon@brooks.smileys.net)
Date: Mon Jun 12 2000 - 03:36:05 EST


Richard Stallman wrote:
> The ability to handle removal of the floppy even when it is mounted
> and "in use" will be important for non-hackers, so I think it is worth
> some amount of effort.

It is indeed, but it doesn't belong in the kernel.

> Supermount seems to come closer to what I had in mind, and maybe could
> do the job. But some people say it is not reliable. If it is made
> reliable and gets included as a standard part of Linux, maybe it will
> do the job.

It ships standard with Mandrake since 6.1 and hasn't stuffed up yet for
me.

> But I wonder what happens if you remove the floppy while some file is
> open on it. The program which has the open descriptor will have to
> lose, but the system as a whole should not stumble. What will
> supermount do in this case.

Return a media error, I think; certainly return some kind of error. It
would be nice if you could continue to read at least as far as the end
of the cache, but in 99% of cases it doesn't matter, and in the
remaining 1% you've probably lost out anyway, and can almost certainly
stick the medium back into the drive and re-auto-mount it. I've never
tried it.

-- 
Linux will not get in the door by simply mentioning it... it must win
by proving itself superior. We have no marketing department, our sales
department is an FTP server in North Carolina and our programming
department spans seven continents. Am I getting through? -- Signal11
(/.)

- 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 : Thu Jun 15 2000 - 21:00:24 EST