Messages in this thread | | | Subject | Re: Removable media bug | Date | Fri, 30 Apr 1999 20:12:06 MET DST | From | "Giuliano Pochini" <> |
| |
>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 >floppy.
Yes, it is a bug, because whem you unmount a device, caches are flushed first, then the fs is put to "clean" state. Finally you and eject the disk. But the caches MUST be invalidated too ! You must not preserve a cache of a device which doesn't exist any more.
>Of course, if it doesn't happen with 2.0.x then it is a kernel bug.
I don't know.
>DOS >never showed the problem on this system; I think it always reread the media >regardless.
DOS haven't "umount" command...
>(OS/2 did show the problem, though.)
No, I never had such a problem.
Bye.
- 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/
| |