proposed bsdlabel patch

Marcel Moolenaar marcel at xcllnt.net
Tue Mar 30 00:02:51 PST 2004


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 at xcllnt.net


More information about the freebsd-current mailing list