On Fri, Nov 14, 2008 at 02:41:08PM +1000, James C. McPherson wrote:
> On Thu, 13 Nov 2008 20:33:36 -0800
> Matthew Jacob <Matthew.Jacob at Sun.COM> wrote:
> > > These days we have libscsi and friends.  Application developers
> > > should be able to use those directly.  
> > 
> > You're kidding, right?
> > 
> > ultra20 > man libscsi
> > No manual entry for libscsi.
> > 
> > Looking at the case materials for 2008/196 (which, btw, is a painful 
> > process when going through opensolaris.org), libscsi, and libses, are 
> > built on top of sgen(7d). Jesus wept, this misses the points I've
> > been trying to make.
> 
> 
> No, he's not kidding. This is pretty much the same question
> I asked last week.
> 
> Just because there's no manpage doesn't mean that it's impossible
> to use - or don't people read source code any more?

Sorry, but no.  If there's no manpage it's most likely because it's not
a public, stable interface.  That means you'd need to either be in the
same consolidation or have a contract in order to consume it, depending
on the interface's actual stability attributes.

So either Garret is wrong to suggest use of libscsi, or there's a doc
bug (missing manpage), or someone had better promote the stability of
libscsci and document it ASAP.

IF sg3 cannot be stable on Solaris without using something like libscsi,
then it's reasonable to suggest that it use libscsi, but I suspect the
reality is the reverse (that until libscsi becomes stable the best thing
to do is for sg3 to not use it).

Nico
-- 

Reply via email to