cvs commit: src/sys/cam/scsi scsi_sg.c scsi_sg.h src/sys/modules/cam Makefile src/sys/conf NOTES files src/sys/compat/linux linux_ioctl.c linux_ioctl.h

Scott Long scottl at
Sun Apr 8 01:37:51 UTC 2007

Larry Rosenman wrote:
> On Sat, 7 Apr 2007, Scott Long wrote:
>> To tell you the truth, the SG device has one of the worst programming 
>> interfaces that I've ever seen.  Even the various official docs on it
>> complain about how bad it is.  I've written apps for CAM, including a
>> swiss-army-knife java-based management app, and CAM is vastly superior.
>> I tried porting the app to linux and gave up due to how limited and
>> unpleasant it was.  From the kernel side, it's even scarier.
>> But beyond that, the work I committed here was about opening up FreeBSD
>> to more storage management opportunities.  So I'm happy with whatever
>> anyone wants to do with it that furthers that goal.  I'd like to see
>> the native interface be used as a bridge to help introduce programmers
>> to FreeBSD and CAM; if the sg3_utils package is a step in that
>> direction or if it provides tools that camcontrol doesn't, then go for
>> it.
>> Scott
> I assume that this is NOT a MFC candidate?  (Since I think I may have been
> at least part of the genesis of the request from Roman).
> [snip]

There's no reason not to merge it to 6.x; it doesn't change any existing
functionality or interfaces.  What I'd like is for people to play with
it for a few weeks and help fill in some of the pieces that are still
missing.  Once it's a little more mature, it can be merged back.


More information about the cvs-src mailing list