DragonFly commits List (threaded) for 2007-05
DragonFly BSD
DragonFly commits List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 May 2007 12:29:21 -0700 (PDT)

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

DragonFly src repository

  Modified files:
    sbin/newfs           defs.h mkfs.c newfs.8 newfs.c 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/defs.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/mkfs.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/newfs.8.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/newfs.c.diff?r1=1.15&r2=1.16&f=u



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