]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rename the undocumented -E option to -X.
authorPoul-Henning Kamp <phk@FreeBSD.org>
Sun, 16 Dec 2007 19:41:31 +0000 (19:41 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Sun, 16 Dec 2007 19:41:31 +0000 (19:41 +0000)
commit9a6378d80300d9e1702de14e6d603b6c5021346d
tree50cd9188ad39d14622684bb1674d4d82c2da2a3d
parent015a11e69501ff114db08c90f39ed17be752bde5
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.
sbin/newfs/mkfs.c
sbin/newfs/newfs.8
sbin/newfs/newfs.c
sbin/newfs/newfs.h