(SAT) libata + hdparm/smartctl

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

 



Mark Lord wrote:
> thomas schorpp wrote:
> 
>>
>> for hdparm ata-security theres ide taskfile used, can scsi command
>> sequences combined with ide taskfiles which use own ioctls?
> 
> 
> As Jeff said, libata translates some of the HDIO_TASK* functions
> into SCSI passthru commands, which then get translated back
> into ATA commands at the time of issue to the device.
> 
> Once passthru makes it out into the wild (Linus kernels),
> I'll update hdparm to have it use SCSI passthru instead
> when available/appropriate.
> 
> There will have to be about a year or so of full overlap
> (hdparm, smartmontools, and kernel), to give distros time
> to update/release with all of the affected components.
> 
> After that, I imagine Jeff may want to remove the HDIO_TASK*
> calls again.
> 
> Cheers

ive tried the whole day to make this driver helper libata or parts of it available to the user space
and it didnt work out, sorry, you cant include the header in user-space apps and theres no interface to it.

but if You say so, i'll take a closer look at libatas HDIO_TASKs but this has to be utilized automatic then,
at this time libata.ko does not get loaded or used by usbstorage devices.

when it is a driver library i will use it with drivers, as it should be:

so i look if i can modify sg, sd_mod or/and usb-storage to detect passthru needing devices automatic and to
take action on passthru needing functionality, then none of the user space apps should need to be worked on.

(hopefully) 

y
tom
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux