Re: proposed bsdlabel patch

From: Hartmut Brandt <harti_at_freebsd.org>
Date: Tue, 30 Mar 2004 10:17:06 +0200
Marcel Moolenaar wrote:
> 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.
> 

That makes it very easy to trash a file in the current directory.

harti
Received on Mon Mar 29 2004 - 22:17:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC