From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jens Axboe" Date: Mon, 29 Mar 2004 15:40:24 +0000 Subject: Re: removable media revalidation - udev vs. devfs or static /dev Message-Id: <010801c415a4$26f9a010$d100000a@sbs2003.local> List-Id: References: <200401012333.04930.arvidjaar@mail.ru> In-Reply-To: <200401012333.04930.arvidjaar@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Jan 03 2004, Andrey Borzenkov wrote: > > Is there really no way to get a media change notification from ZIP or > > JAZ drives? > > If anyone knows please tell me - I will put it into supermount ... > > AFAIK in case of SCSI this is impossible simply by virtue of protocol - SCSI > device is not initiator. So you need something to poll device for status. > That is usually done on device open except in this case you can't open > because you do not yet have handle. You could queue a media notification request for long periods of time, being completed by the drive when a media change happens. At least mmc allows for this, doubt anyone has ever done it. So yeah, poll... -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel