[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: media removed indication!



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



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/