From: Douglas Gilbert <dougg@torque.net>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: jidong xiao <jidong.xiao@gmail.com>, linux-scsi@vger.kernel.org
Subject: Re: Is there any tool can perform a READ Capacity command?
Date: Thu, 02 Aug 2007 12:40:37 -0400 [thread overview]
Message-ID: <46B20905.6080203@torque.net> (raw)
In-Reply-To: <yq13az2uhds.fsf@sermon.lab.mkp.net>
Martin K. Petersen wrote:
>>>>>> "jidong" == jidong xiao <jidong.xiao@gmail.com> writes:
>
> jidong> I know sg_modes can help to perform a SCSI MODE SENSE command,
> jidong> is there any tool/command that can perform a READ Capacity
> jidong> command?
>
> sg_readcap
In the sg3_utils package there is a COVERAGE file which
lists the mapping between SCSI commands and the sg3_utils
utilities that send them. [Amongst other things it is useful
when I forget.]
sg3_utils version 1.25 is work in progress; here is the
ChangeLog to date:
Changelog for sg3_utils-1.25 [20070728]
- sg_sat_set_features: new utility (actually copied from examples
directory); renamed examples version: sg__sat_set_features
- sg_dd: add oflag=sparse to step over bs*bpt number of zeros;
- with oflag=sparse, write last bs*bpt segment at end or after
error so file length of OFILE is appropriate
- when coe>1 then SCSI READ LONG logic remember extended block
length of first encountered error
- sg_dd, sgm_dd, sgp_dd: allow iflag=null and oflag=null both of
which do nothing (placeholders)
- sg_ses: sync with ses2r17 the r18
- sg_vpd: add block device characteristics VPD page
- sg_logs: update background scan results log page, sbc3r11
- place source in subversion repository
- convert build logic to use autotools (i.e. './configure ; make')
- rename this file from CHANGELOG to ChangeLog
- note: only utilities in main directory built by autotools
infrastructure; subdirectories still use hand-crafted Makefiles
Doug Gilbert
next prev parent reply other threads:[~2007-08-02 16:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 14:30 Is there any tool can perform a READ Capacity command? jidong xiao
2007-08-02 14:43 ` Martin K. Petersen
2007-08-02 16:40 ` Douglas Gilbert [this message]
2007-08-03 8:01 ` jidong xiao
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=46B20905.6080203@torque.net \
--to=dougg@torque.net \
--cc=jidong.xiao@gmail.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/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