From owner-freebsd-scsi@FreeBSD.ORG Fri Oct 8 15:44:49 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945AD1065673 for ; Fri, 8 Oct 2010 15:44:49 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id DD0028FC0C for ; Fri, 8 Oct 2010 15:44:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA08301; Fri, 08 Oct 2010 18:44:45 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4CAF3C6D.3020003@freebsd.org> Date: Fri, 08 Oct 2010 18:44:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Bruce Cran References: <4BCDEBF6.3030609@icyb.net.ua> <4CA30B24.8040707@freebsd.org> <4CAEDF48.1030602@freebsd.org> <201010081221.24584.bruce@cran.org.uk> <4CAF31EE.6060409@freebsd.org> In-Reply-To: <4CAF31EE.6060409@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, Bob Bishop , gcr+freebsd-current@tharned.org Subject: Re: [HEADSUP] changes to cam_get_device() and cam_open_device() X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 15:44:49 -0000 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