cvs commit: src/sbin/newfs defs.h mkfs.c newfs.8 newfs.c

Matthew Dillon dillon at
Sun May 20 12:30:17 PDT 2007

dillon      2007/05/20 12:29:21 PDT

DragonFly src repository

  Modified files:
    sbin/newfs           defs.h mkfs.c newfs.8 newfs.c 
  Remove all dependancies newfs had on accessing the disklabel.  Use
  getdisktabbyname() instead of getdiskbyname() and use DIOCGPART instead
  of DIOCGDINFO to get the geometry information.  Also make the -v option
  work properly with regular files.
  NOTE: newfs will no longer retrieve the fs fragment and block size fields
  from the disklabel, so non-default operation must be specified with options.
  newfs will also no longer attempt to update the disklabel.
  Revision  Changes    Path
  1.2       +1 -1      src/sbin/newfs/defs.h
  1.14      +7 -8      src/sbin/newfs/mkfs.c
  1.7       +10 -3     src/sbin/newfs/newfs.8
  1.16      +90 -162   src/sbin/newfs/newfs.c

More information about the Commits mailing list