linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lsscsi-0.11
@ 2004-01-09  7:41 Douglas Gilbert
  2004-01-09 18:12 ` lsscsi-0.11 Daniel Stekloff
  0 siblings, 1 reply; 2+ messages in thread
From: Douglas Gilbert @ 2004-01-09  7:41 UTC (permalink / raw)
  To: linux-scsi

lsscsi is a utility the uses sysfs in the linux 2.6 series kernels
to list information about all SCSI devices (including devices
that use the SCSI stack such as USB mass storage devices)
or all SCSI hosts that are attached to the system. Both a compact
format (default), one line per device, and a "classic" format (like
the output of 'cat /proc/scsi/scsi') are supported for devices.

Version 0.11 is available at
http://www.torque.net/scsi/lsscsi.html

This version has been reworked for lk 2.6.1-rc1 (and later)
since sysfs support for st and sg devices has been (re-)added.

lsscsi does not yet use libsysfs but may well soon. One thing
that lsscsi does that is not yet available in libsysfs is
to sort (and filter) directory entries. This is most likely
not relevant for most libsysfs based applications but is
convenient for those applications that display information
for human consumption.

Doug Gilbert


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: lsscsi-0.11
  2004-01-09  7:41 lsscsi-0.11 Douglas Gilbert
@ 2004-01-09 18:12 ` Daniel Stekloff
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Stekloff @ 2004-01-09 18:12 UTC (permalink / raw)
  To: dougg, linux-scsi; +Cc: ananth

On Thursday 08 January 2004 11:41 pm, Douglas Gilbert wrote:
> lsscsi is a utility the uses sysfs in the linux 2.6 series kernels
> to list information about all SCSI devices (including devices
> that use the SCSI stack such as USB mass storage devices)
> or all SCSI hosts that are attached to the system. Both a compact
> format (default), one line per device, and a "classic" format (like
> the output of 'cat /proc/scsi/scsi') are supported for devices.
>
> Version 0.11 is available at
> http://www.torque.net/scsi/lsscsi.html
>
> This version has been reworked for lk 2.6.1-rc1 (and later)
> since sysfs support for st and sg devices has been (re-)added.
>
> lsscsi does not yet use libsysfs but may well soon. One thing
> that lsscsi does that is not yet available in libsysfs is
> to sort (and filter) directory entries. This is most likely
> not relevant for most libsysfs based applications but is
> convenient for those applications that display information
> for human consumption.


Yep, libsysfs doesn't implement any sorts or filters on any of the lists. It 
won't be difficult to do, the dlists have what's needed to complete the 
functionality. And, it would be useful for systool and other applications. We 
will add the sort and filter functions. If there's anything particular you 
have in mind, please let us know. There may be a slight delay in getting new 
changes into our tree, Ananth is traveling to Australia for the Linux 
conference.

Thanks,

Dan



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-09 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09  7:41 lsscsi-0.11 Douglas Gilbert
2004-01-09 18:12 ` lsscsi-0.11 Daniel Stekloff

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).