From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,71c35a0e73c110d5 X-Google-Attributes: gidfcda7,public X-Google-Thread: 115614,71c35a0e73c110d5 X-Google-Attributes: gid115614,public X-Google-Thread: fa528,71c35a0e73c110d5 X-Google-Attributes: gidfa528,public X-Google-Thread: 11035d,71c35a0e73c110d5 X-Google-Attributes: gid11035d,public X-Google-Thread: 1164f8,71c35a0e73c110d5 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10872d,71c35a0e73c110d5 X-Google-Attributes: gid10872d,public X-Google-ArrivalTime: 2003-08-09 15:20:48 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!freenix!ircam.fr!news.completel.fr!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.telebyte.nl!npeer.de.kpn-eurorings.net!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.nuthinbutnews.com!news.kjsl.com!news.usenet2.org!news-proxy.abbnm.com!newsboy.eng.abbnm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) 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: Sat, 9 Aug 2003 22:04:34 +0000 (UTC) Organization: ABB Inc., Network Management Division Message-ID: References: <3F233C74.4F4C3BAB@ntlworld.com> NNTP-Posting-Host: grendel.eng.abbnm.com X-Trace: jeeves.eng.abbnm.com 1060466674 30426 198.178.0.150 (9 Aug 2003 22:04:34 GMT) X-Complaints-To: usenet@jeeves.eng.abbnm.com NNTP-Posting-Date: Sat, 9 Aug 2003 22:04:34 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: peter@abbnm.com (Peter da Silva) Xref: archiver1.google.com comp.sys.hp.hpux:30264 comp.unix.tru64:10609 comp.sys.dec:16684 comp.unix.solaris:165427 comp.sys.sgi.admin:19011 comp.unix.aix:54593 In article , Tony 'Nicoya' Mantler wrote: > Well, this discussion started with the portability concerns of sending raw > commands to storage devices to retrieve SMART data. The APIs to do so on > each OS come in two flavours: non-portable and non-existant. Ah, well, in that circumstance there's little point in writing anything that you intend to actually keep except by creating a wrapper, since for that kind of tool the wrapper... the portability library, pretty much IS the application. > It's wise to make all your code clean so that you can make it portable more > easily at a later date. It's idealistic to make all your code portable > regardless of the needs of your current project. If the code is written cleanly and compartmentalised it is portable, even if it has not yet been ported. > For example, right now I'm writing an ethernet driver in IRIX. Ah, but a driver is in some sense an implementation of the portability library itself, with the driver API being that library's API, as seen from the OS side. :) So the question here is not "is the driver portable", but "is the driver interface portable"? In some cases it is, at least portable enough that one can use the same driver with some modification on multiple operating systems. -- I've seen things you people can't imagine. Chimneysweeps on fire over the roofs of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All these things will be lost in time, like chalk-paintings in the rain. `-_-' Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`