cvs commit: src/sbin/disklabel disklabel.8 disklabel.c

Luigi Rizzo luigi at FreeBSD.org
Wed Mar 24 00:34:23 PST 2004


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


More information about the cvs-src mailing list