lkml.org 
[lkml]   [1999]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Removable media bug
Date
From

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

\
 
 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site