On Thu, Mar 10, 2011 at 12:06 PM, Joerg Schilling
<[email protected]> wrote:
> Cyril Plisko <[email protected]> wrote:
>
>> On Thu, Mar 10, 2011 at 1:15 AM, Jason King <[email protected]>
>> 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/[email protected],5.11-0.151.0.1:20101105T061840Z
--
Regards,
Cyril
_______________________________________________
Discuss mailing list
[email protected]
http://lists.illumos.org/m/listinfo/discuss