public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: SCSI development list <linux-scsi@vger.kernel.org>,
	"Martin K. Petersen" <martin.petersen@ORACLE.COM>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [ANNOUNCE] lsscsi 0.25 beta 1, adds --size
Date: Fri, 11 Mar 2011 15:33:16 -0500	[thread overview]
Message-ID: <4D7A870C.7040809@interlog.com> (raw)

Martin Petersen recently sent me some patches
to add a --size (or '-s') option to lsscsi:

# lsscsi -s
[0:0:0:0]  disk  ATA    INTEL SSD  2CV1 /dev/sda 80.0GB
[10:0:0:0] disk  Linux  scsi_debug 0004 /dev/sdb 1.09TB

Martin and I had several hacks at this. Getting
utilities to work reliably with sysfs across various
kernel versions continues to be a crap shoot. So
I am putting this out as a beta and hoping that
anyone with problems will contact me (or Martin).

Note that this logic decodes /sys/block/sda/size
(for example) so disks that are present but without
a block interface (e.g. physical disks in a RAID)
will not have a size shown ('-' is shown instead).

Version 0.25 beta 1 is available at:
     http://sg.danny.cz/scsi/lsscsi.html
More information can be found on that page including examples
and a Download section for the tarball:
   http://sg.danny.cz/scsi/lsscsi-0.25b1.tgz
There are no debian or redhat packages built for this beta.

Version 0.25 2011/03/04 [svn: r91]
   - add sas_port and fc_remote_ports transport information
   - print enclosure_device entry
   - add '--size' option to show size of disks
   - add '--protmode' option to show protection information mode

Version 0.24 2010/06/12 [svn: r83]
.....


Doug Gilbert

             reply	other threads:[~2011-03-11 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11 20:33 Douglas Gilbert [this message]
2011-03-21 17:13 ` [ANNOUNCE] lsscsi 0.25 beta 1, adds --size Douglas Gilbert
2011-03-22  4:43   ` Martin K. Petersen

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=4D7A870C.7040809@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=linux-kernel@vger.kernel.org \
    --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