[HEADSUP] changes to cam_get_device() and cam_open_device()

Andriy Gapon avg at freebsd.org
Fri Oct 8 15:44:49 UTC 2010


on 08/10/2010 17:59 Andriy Gapon said the following:
> on 08/10/2010 14:21 Bruce Cran said the following:
>> On Friday 08 October 2010 10:07:20 Andriy Gapon wrote:
>>
>>> Non-rewound and character disk/SCSI devices has not been supported for
>>> quite a while now.  Support for parsing partition/slice names is
>>> incomplete (e.g. GPT scheme is not supported) and of questionable
>>> usefulness.
>>
>> If we no longer create non-rewound and character device nodes then sa(4), 
>> mtio(4) and scd(4) should probably be updated at some point too.
>>
> 
> It seems that I've screwed up here.
> We do still support non-rewind devices.

OTOH, while it's a reality that we keep non-rewind devices

> And it's probably not a good idea to remove support for e.g. "nsa" => "pass" mapping.

Removing special support for them in cam_get_device() and cam_open_device() might
still be a good idea.  Not sure.
I say this because sa(4) also has eject-on-close variation ("/dev/esaN"), but
there is no special support for those.


-- 
Andriy Gapon


More information about the freebsd-scsi mailing list