Re: Removable media bug

Brandon S. Allbery KF8NH (
Wed, 28 Apr 1999 20:19:41 -0400

In message <>, "Giuliano Pochini" writes:
| [Giu@localhost Giu]$ umount /mnt/mo
| Now I insert another disk containing some files.
| [Giu@localhost Giu]$ mount /mnt/mo
| [Giu@localhost Giu]$ dir /mnt/mo
| total 29
| drwxrwx--- 3 root ShutDown 2048 Apr 24 10:54 .
| drwxrwxr-x 8 root ShutDown 1024 Feb 22 17:04 ..
| -rw-rw-r-- 1 Giu Giu 13 Apr 24 10:54 blah
| drwxr-xr-x 2 root root 24576 Apr 23 17:11 lost+found
| Aargh! This is the content of the previous disk !!!!

Is this really a kernel bug? I have a floppy drive that does the same thing;
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

Of course, if it doesn't happen with 2.0.x then it is a kernel bug. DOS
never showed the problem on this system; I think it always reread the media
regardless. (OS/2 did show the problem, though.)

brandon s. allbery	[os/2][linux][solaris][japh]
system administrator	     [WAY too many hats]
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 Please read the FAQ at