Re: kernel behaviour at media-changed

Giuliano Pochini (pochini@denise.shiny.it)
Wed, 07 Jul 1999 19:13:05 MET DST


>Yesterday after 1 hour (or so) of non disk activity my mounted Iomega
Zip
>250 turned into a power-safe state. A few hours later I typed "umout
>/zip". Mount complained with "/zip: device is busy".

Hmm.

>Yet I noticed that umount had not umounted correctly... But the zip's
ext2
>was corrupted already ;-(!

That's becouse you ejected the disk w/o umount !

>My question: What about throwing all cache-data away and auto-umount,
> in the case the kernel gets a media-change at device-xy
and
> this device-xy is mounted??

But if the disk isn't in the drive, how can it flush the buffers ??

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/