Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2010 08:44:40 -0500 (CDT)
From:      Greg Rivers <gcr+freebsd-current@tharned.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-scsi@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: [HEADSUP] changes to cam_get_device() and cam_open_device()
Message-ID:  <alpine.BSF.2.00.1010080830580.13281@roadkill.tharned.org>
In-Reply-To: <6690327C-C8E2-48C3-8982-812ED226975F@gid.co.uk>
References:  <4BCDEBF6.3030609@icyb.net.ua> <20100423184412.GA5016@nargothrond.kdm.org> <4BD1FC74.3090504@freebsd.org> <4CA30B24.8040707@freebsd.org> <4CAEDF48.1030602@freebsd.org> <6690327C-C8E2-48C3-8982-812ED226975F@gid.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Oct 2010, Bob Bishop wrote:

> On 8 Oct 2010, at 10:07, Andriy Gapon wrote:
>
>> As there was no objections, I am going to commit changes to 
>> cam_get_device() that remove the following features:
>>
>> - ignoring 'r' and 'n' at the start of device name
>> - ignoring whitespace at end of device name
>> - parsing and ignoring slice and partition names in a device name
>>
>> cam(3) manual page is going to be updated to reflect the changes. This 
>> would simplify the code and disambiguate its behavior.
>>
>> Non-rewound and character disk/SCSI devices has not been supported for 
>> quite a while now. [etc]
>
> Just a clarification, does this mean no /dev/nsa.. ? That would be a 
> showstopper for many tape users.
>

Yes, the no-rewind tape device is a practical requirement.  I think it's 
ok for 'r' to go away for disk devices, but 'n' for tape devices needs to 
be retained.

If we really want to remove the 'n', then all tape devices need to be 
no-rewind on close, and the rewind-on-close devices need to be deprecated 
just like the block devices for disks were.  Of course doing this would 
change traditional behavior and might violate POLA.

-- 
Greg Rivers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1010080830580.13281>