Re: Removable media bug

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Thu, 29 Apr 1999 07:34:15 -0400


In message <Pine.LNX.3.96.990429112851.6608A-100000@phobos.fachschaften.tu-muen
chen.de>, Simon Richter writes:
+-----
| On Wed, 28 Apr 1999, Brandon S. Allbery KF8NH wrote:
|
| >> Aargh! This is the content of the previous disk !!!!
|
| > Is this really a kernel bug? I have a floppy drive that does the same thin
| g;
| > it doesn't always notify the kernel that the media changed. I can force it
| > with your workaround *or* by being very careful when inserting the new
| > floppy.
|
| This is a kernel bug IMHO, any block device should invalidate the buffers
| when it is closed and reread everything when reopened.
+--->8

I misremembered and misdescribed it. It wasn't just a media change line
problem: the system *would* read the floppy... which failed, but returned
success. So you got whatever was in the buffer previously. It made for some
odd behavior.

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
     We are Linux. Resistance is an indication that you missed the point.

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