Re: proposed bsdlabel patch

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Mon, 29 Mar 2004 16:50:13 -0800
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_at_xcllnt.net
Received on Mon Mar 29 2004 - 14:50:13 UTC

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