Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 00:02:50 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        current@freebsd.org
Subject:   Re: proposed bsdlabel patch
Message-ID:  <20040330080250.GA69610@dhcp01.pn.xcllnt.net>
In-Reply-To: <20040329234212.A72990@xorpc.icir.org>
References:  <20040329163926.A38109@xorpc.icir.org> <20040330005013.GA53546@ns1.xcllnt.net> <20040329230643.B70930@xorpc.icir.org> <20040329234212.A72990@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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