From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 00:02:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E3BA16A4CE for ; Tue, 30 Mar 2004 00:02:51 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE24243D4C for ; Tue, 30 Mar 2004 00:02:50 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i2U82owN055350; Tue, 30 Mar 2004 00:02:50 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) i2U82oet069671; Tue, 30 Mar 2004 00:02:50 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i2U82oKa069670; Tue, 30 Mar 2004 00:02:50 -0800 (PST) (envelope-from marcel) Date: Tue, 30 Mar 2004 00:02:50 -0800 From: Marcel Moolenaar To: Luigi Rizzo Message-ID: <20040330080250.GA69610@dhcp01.pn.xcllnt.net> References: <20040329163926.A38109@xorpc.icir.org> <20040330005013.GA53546@ns1.xcllnt.net> <20040329230643.B70930@xorpc.icir.org> <20040329234212.A72990@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040329234212.A72990@xorpc.icir.org> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org Subject: Re: proposed bsdlabel patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 30 Mar 2004 08:02:51 -0000 On Mon, Mar 29, 2004 at 11:42:12PM -0800, Luigi Rizzo wrote: > actually, following up to myself: > > you do need some way to disambiguate between the case of a device > ("bsdlabel ad0") and a file in the current directory ("bdslabel > ad0"). The file takes precedence, because any filename that does not contain any directory elements is assumed to live in the current directory. The shorthand for device special files is secundairy to that, because it's a convenience only. If the device special file is meant, it has to be specified as /dev/ad0 in the example given. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net