On Thu, Mar 10, 2011 at 12:06 PM, Joerg Schilling <joerg.schill...@fokus.fraunhofer.de> wrote: > Cyril Plisko <cyril.pli...@mountall.com> wrote: > >> On Thu, Mar 10, 2011 at 1:15 AM, Jason King <jason.brian.k...@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?
Not at all. hellride:~$ pkg info sg3_utils Name: system/storage/sg3_utils Summary: sg3_utils - a package of utilities for sending SCSI commands Description: sg3 - package of utilities for sending SCSI commands 1.26 Category: Applications/System Utilities State: Installed Publisher: solaris Version: 1.26 Build Release: 5.11 Branch: 0.151.0.1 Packaging Date: November 5, 2010 06:18:40 AM Size: 990.43 kB FMRI: pkg://solaris/system/storage/sg3_utils@1.26,5.11-0.151.0.1:20101105T061840Z -- Regards, Cyril _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss