From: Kantor Zsolt <kantorzsolt@yahoo.com>
To: linux-ide@vger.kernel.org
Subject: SG_IO and HDIO_DRIVE_TASKFILE issue
Date: Fri, 14 Sep 2007 09:58:39 -0700 (PDT) [thread overview]
Message-ID: <365498.12393.qm@web35414.mail.mud.yahoo.com> (raw)
Can be executed a SG_IO command for a ATA hard drive ? because I have tried everything. I have
deeply studied the hdparm (version 7.7) source code and I came to realize that ATA commands like
setting the acoustic value, setting the drive write-caching, identify device can not be executed
with the SG_IO, so after hdparm tries with SG_IO which can't be executed jumps with a goto to the
legacy command (HDIO_DRIVE_CMD) to execute the required task. And I also know that libata don't
include support for the HDIO_DRIVE_TASKFILE command, so my question is how can I have full control
over a hard drive because for that you must to use either HDIO_DRIVE_TASKFILE but that is not
supported or SG_IO which is not working like HDIO_DRIVE_TASKFILE
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
next reply other threads:[~2007-09-14 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 16:58 Kantor Zsolt [this message]
2007-09-14 17:12 ` SG_IO and HDIO_DRIVE_TASKFILE issue Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=365498.12393.qm@web35414.mail.mud.yahoo.com \
--to=kantorzsolt@yahoo.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).