Re: media removed indication!

From: Matt Gulick
Date: Sat Apr 03 2004 - 16:30:20 EST


On Fri, 2004-04-02 at 06:38, Jinu M. wrote:
> Hi all,
>
> We are working on the removable media support for our disk driver.
>
> I have a couple of questions.
>
> How do you ask the file system to stop sending buffers to our disk driver (request function) when the media is removed?
>
> If a disk is already mounted when the media is removed is there a way to stop all IO and umount the disk automatically?
>
> Any pointers on the same will be of great help.

Jinu,

There is a tread on the Linux-SCSI list dealing with an issue of removable media and associated error. You might want to check there.

The thread is "bug 2400"

Matt

----------------------------------------
Matt Gulick
Sr. Staff Engineer
Adaptec, Inc.
gulickconsulting@xxxxxxxxxxxx
matt_gulick@xxxxxxxxxxx
(715) 426-0884


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/