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

Poul-Henning Kamp phk at
Sun Dec 16 11:41:32 PST 2007

phk         2007-12-16 19:41:31 UTC

  FreeBSD src repository

  Modified files:
    sbin/newfs           mkfs.c newfs.8 newfs.c newfs.h 
  Rename the undocumented -E option to -X.
  Implement -E option which will erase the filesystem sectors before
  making the new filesystem.  Reserved space in front of the superblock
  (bootcode) is not erased.
  NB: Erasing can take as long time as writing every sector sequentially.
  This is relevant for all flash based disks which use wearlevelling.
  Revision  Changes    Path
  1.93      +13 -6     src/sbin/newfs/mkfs.c
  1.72      +9 -5      src/sbin/newfs/newfs.8
  1.85      +8 -3      src/sbin/newfs/newfs.c
  1.20      +2 -1      src/sbin/newfs/newfs.h

More information about the cvs-src mailing list