[illumos-Discuss] [illumos-Developer] SES support for Super Micro chassises?
Joerg.Schilling at fokus.fraunhofer.de
Thu Mar 10 02:06:03 PST 2011
Cyril Plisko <cyril.plisko at mountall.com> wrote:
> On Thu, Mar 10, 2011 at 1:15 AM, Jason King <jason.brian.king at gmail.com> wrote:
> > You'd probably need to write a C program that opens the device
> > (assuming one is created on the system) and use the uscsi interface to
> > issue the commands as ioctls.
> Or use sg_senddiag from sg3_utils package.
Isn't this Linux only?
The OS independent way of sending SCSI commands to arbitrary targets (since
August 1986) is libscg. It is e.g. part of cdrtools.
BTW: There is also sformat(1), see:
that includes a lot of SCSI handling interfaces for disks. sformat was the
first command that allows to format disks while SunOS was still running (Sun
forced their customers to boot into a stand alone format utility at that time)
and sformat was the example for the format utility that has been later written
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
More information about the Discuss