From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcda7,71c35a0e73c110d5 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1164f8,71c35a0e73c110d5 X-Google-Attributes: gid1164f8,public X-Google-Thread: 11035d,71c35a0e73c110d5 X-Google-Attributes: gid11035d,public X-Google-Thread: fa528,71c35a0e73c110d5 X-Google-Attributes: gidfa528,public X-Google-Thread: 10872d,71c35a0e73c110d5 X-Google-Attributes: gid10872d,public X-Google-Thread: 115614,71c35a0e73c110d5 X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 2003-08-08 06:05:08 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!cs.tu-berlin.de!js From: js@cs.tu-berlin.de (Joerg Schilling) Newsgroups: comp.sys.hp.hpux,comp.unix.tru64,comp.sys.dec,comp.unix.solaris,comp.sys.sgi.admin,comp.unix.aix Subject: Re: Free UNIX for non-commerical use. Date: 8 Aug 2003 13:05:07 GMT Organization: Technische Universitaet Berlin, Deutschland Message-ID: References: <3F233C74.4F4C3BAB@ntlworld.com> <3F330255.B90F491B@ntlworld.com> <3F336F45.400A411A@ntlworld.com> NNTP-Posting-Host: fiesta.cs.tu-berlin.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.cs.tu-berlin.de 1060347907 8668 130.149.17.156 (8 Aug 2003 13:05:07 GMT) X-Complaints-To: news@cs.tu-berlin.de NNTP-Posting-Date: 8 Aug 2003 13:05:07 GMT Xref: archiver1.google.com comp.sys.hp.hpux:30213 comp.unix.tru64:10566 comp.sys.dec:16632 comp.unix.solaris:165262 comp.sys.sgi.admin:18957 comp.unix.aix:54537 In article <3F336F45.400A411A@ntlworld.com>, Dr. David Kirkby wrote: >> [...] >> : I'd like to read the temperature of my SCSI disks. There are several >> : Linux utilities to do this, but not one will work on SPARC. Yet the >> : author of 'cdrecord' has clearly demonstrated it's possible to write >> : low-level SCSI code that is portable. >> [...] >> >> Possible but difficult. Every single platform uses a different API to send >> commands to and from drives. cdrecord gets around this by (no surprise) writing >> different drive interface code for every single platform. > >In which case, if you develop a program that needs low-level SCSI, why >not start from J�rg Schilling's code, where the API is I assume >consistent for cd-record, and the interface code is platform specific? >J�rg Schilling might like to comment on that. libscg is giving you a platform independant SCSI transport interface. It is easy to use and there are remplate programs that you can easily use to put your code into. The simples way to start is to fetch cdrtools and modify a small SCSI program like "readcd" or "scgcheck". -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J�rg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.fraunhofer.de (work) chars I am J"org Schilling URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily