Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 00:34:22 -0800 (PST)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/disklabel disklabel.8 disklabel.c
Message-ID:  <200403240834.i2O8YMQ5089665@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2004/03/24 00:34:22 PST

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sbin/disklabel       disklabel.8 disklabel.c 
  Log:
  Add a -f option to make disklabel to work on regular files (representing
  disk images). The change actually boils down to little more than
  providing the equivalent of a 'virgin' label for the file, all
  the remaining label manipulation being the same.
  This saves the need for going through vn/mdconfig (and root privs)
  just to label an image file.
  
  RELENG_4 only commit because disklabel is not in RELENG_5/CURRENT anymore,
  though I suspect a similar change could be applied to bsdlabel and friends.
  
  Revision   Changes    Path
  1.15.2.23  +45 -6     src/sbin/disklabel/disklabel.8
  1.28.2.16  +37 -2     src/sbin/disklabel/disklabel.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403240834.i2O8YMQ5089665>