From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lennart Poettering Date: Fri, 20 Nov 2009 13:56:34 +0000 Subject: Re: udev 147 (ata_id) blanks RW media Message-Id: <20091120135634.GA1947@tango.0pointer.de> List-Id: References: <4B054940.9050307@jobob.com> In-Reply-To: <4B054940.9050307@jobob.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, 20.11.09 11:07, Christoph Stritt (phoenix@jobob.com) wrote: heya, > > For now, I've added a check if the device is an optical drive, which > > should prevent this from happening. > good! saving countless bits from beeing eliminated >) > > It might be better though, if i may add this proposal, to check the availability > of ata passthrough, e.g. like in sg_sat_identify. Unfortunately most ob the USB bridges I know that support SAT don't support the detection page which can be used to find out whether SAT is supported. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4