Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 16:50:13 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        current@freebsd.org
Subject:   Re: proposed bsdlabel patch
Message-ID:  <20040330005013.GA53546@ns1.xcllnt.net>
In-Reply-To: <20040329163926.A38109@xorpc.icir.org>
References:  <20040329163926.A38109@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 29, 2004 at 04:39:26PM -0800, Luigi Rizzo wrote:
> if there are no strong objections, I'd like to commit
> the following minor patch to bsdlabel (and associated bsdlabel.8
> changes) to implement a '-f' option which enables bsdlabel to
> work on an image file too.

As Julian mentioned, why not use stat(2) and DTRT without options?
That also removes the gratuitous requirement that the filename has
to be an absolute path. See also the implementation of gpt(8)...

-- 
 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?20040330005013.GA53546>