Re: [PATCH] libata: implement HDIO_GET_IDENTITY

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

 



Tejun Heo wrote:
'hdparm -I' doesn't work with ATAPI devices and sg_sat is not widely
spread yet leaving no easy way to access ATAPI IDENTIFY data.
Implement HDIO_GET_IDENTITY such that at least 'hdparm -i' works.

Mmm.. I still think this old ioctl is ugly, and I'd rather
have things fixed so that "hdparm -I" works instead.

Unless having access to the libata cached ID block is useful
beyond just getting ATAPI drives to work with -I.
Is it?  I suppose it might be useful to be able to look at it.

hdparm *does* try to issue the PACKET IDENTIFY whenever
a regular IDENTIFY fails.  Currently these all go through
the HDIO_DRIVE_CMD ioctl().  I don't have a system set up
here that has any ATAPI over libata to test with.
Could you perhaps try and see where that ioctl() is failing?

Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux