LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SCSI Programming

[ILUG] SCSI Programming

Paul Jakma paul at clubi.ie
Mon Oct 11 21:40:53 IST 1999


On Tue, 12 Oct 1999, Ching Haydee wrote:

  hi everyone,
    i would just like to ask have anyone tried SCSI programming? Like how do 
  you send SCSI Inquiry command to a SCSI device? Please tell me if someone 
  can share with me how it is done in a Solaris 7 platform.
  
    any idea will be greatly appreciated.
  
    thanks a lot.
  -haydee : )

don't know about solaris but Linux has the SCSI-generic interface.
This allows you to send arbitrary scsi command blocks to a device.
But it's allegedly not very good, esp wrt to error handling. 

have a look at http://www.torque.net/sg/ which is the SCSI-generic
homepage and has a few sample programmes to look at. 

See also ftp://globalfilesystem.org/pub/GFS/tools/ -> fwd, a utility
to upgrade the firmware on Seagate disks. The interesting bit about
this programme is that it has both a linux-sg backend and a Solaris
backend, which might help.

regards,
-- 
Paul Jakma	paul at clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
Documentation is like sex: when it is good, it is very, very good; and
when it is bad, it is better than nothing.
		-- Dick Brandon





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell