Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/disklabel



On Wed, Jun 06, 2007 at 08:22:34AM +1000, matthew green wrote:
>    
>    Modified Files:
>       src/sbin/disklabel: main.c
>    
>    Log Message:
>    Let the operator use the DISKLABELSECTOR and DISKLABELOFFSET
>    environment variables to override the sector number, and the
>    bytes-offset in the sector, where disklabel(8) writes a disklabel.
> 
> 
> any particular reason these are env vars and not simply options
> to disklabel?

Yes.  The variable names are mnemonic.  It is also easy to set a global
default in a script.  I do not see any reason why there should not be
command-line options, too, if you want to make it so.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24



Home | Main Index | Thread Index | Old Index