From owner-freebsd-current@FreeBSD.ORG Fri Oct 8 14:10:53 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 464241065675; Fri, 8 Oct 2010 14:10:53 +0000 (UTC) (envelope-from gcr+freebsd-current@tharned.org) Received: from roadkill.tharned.org (roadkill.tharned.org [75.145.12.185]) by mx1.freebsd.org (Postfix) with ESMTP id D7D3E8FC27; Fri, 8 Oct 2010 14:10:52 +0000 (UTC) Received: from roadkill.tharned.org (11008@roadkill.tharned.org [75.145.12.185]) (authenticated bits=0) by roadkill.tharned.org (8.14.4/8.14.4) with ESMTP id o98DieQj013369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Oct 2010 08:44:40 -0500 (CDT) (envelope-from gcr+freebsd-current@tharned.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tharned.org; s=2010; t=1286545480; bh=dqYKxOUeVx3n1UfPoTBk/kSWJxcraKNE1mKOvkMMEek=; l=1218; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=BeqytzSRQw2Tkmuz9rBpOlpjYRIuXWDrpQ0iml0duPjIPv3Q2vm9UKhKOWim6DvDe wHIoKelzDv5n3fVf4NjAn+CiJjtCKMuAhxO8YCSBfMMxoOL3xNjiSSbSD3IxStXeNo 25+0J1X+W1GGwTQWTYMRReHQHpuD+zySuVz3DGpE= Date: Fri, 8 Oct 2010 08:44:40 -0500 (CDT) From: Greg Rivers To: Andriy Gapon In-Reply-To: <6690327C-C8E2-48C3-8982-812ED226975F@gid.co.uk> Message-ID: 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> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (roadkill.tharned.org [75.145.12.185]); Fri, 08 Oct 2010 08:44:40 -0500 (CDT) Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [HEADSUP] changes to cam_get_device() and cam_open_device() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 14:10:53 -0000 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