From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Wed, 07 Jan 2004 10:47:40 +0000 Subject: Re: removable media revalidation - udev vs. devfs or static /dev Message-Id: <200401071347.40328.arvidjaar@mail.ru> List-Id: References: <200401012333.04930.arvidjaar@mail.ru> <20040107102515.GC22770@suse.de> <20040107103123.GZ3483@suse.de> In-Reply-To: <20040107103123.GZ3483@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jens Axboe , Olaf Hering Cc: Andries Brouwer , Greg KH , linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Wednesday 07 January 2004 13:31, Jens Axboe wrote: > On Wed, Jan 07 2004, Olaf Hering wrote: > > On Wed, Jan 07, Jens Axboe wrote: > > > On Wed, Jan 07 2004, Olaf Hering wrote: > > > > On Wed, Jan 07, Jens Axboe wrote: > > > > > No need to put it in the kernel, user space fits the bil nicely. I > > > > > don't see how this would lead to IO errors? > > > > > > > > Ok, how should it be done on my SCSI and parallel port ZIP? An ATAPI > > > > ZIP > > > > ^^^ > > > > "How"? We need a sane way to deal with removeable medias. > > Do you have example code that can be put into the udev distribution? > > Depends. If the device supports event status notification, then that is > what should be used. Would you please give some pointers to information about "event status notification". thank you > If not, you have to hack some code around test unit > ready (checking the sense info on return, if failed). You'd most likely > want to do this manually, with SG_IO. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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