freebsd-dev/sbin/newfs
Kirk McKusick 77b63aa0fc Since the switch to GPT disk labels, fsck for UFS/FFS has been
unable to automatically find alternate superblocks. This checkin
places the information needed to find alternate superblocks to the
end of the area reserved for the boot block.

Filesystems created with a newfs of this vintage or later will
create the recovery information. If you have a filesystem created
prior to this change and wish to have a recovery block created for
your filesystem, you can do so by running fsck in forground mode
(i.e., do not use the -p or -y options). As it starts, fsck will
ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS'' to which you should
answer yes.

Discussed with: kib, imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D11589
2017-08-09 05:17:21 +00:00
..
Makefile sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
mkfs.c Since the switch to GPT disk labels, fsck for UFS/FFS has been 2017-08-09 05:17:21 +00:00
newfs.8 Bump date for today's commit. 2017-07-07 16:58:40 +00:00
newfs.c Allow '_' in labels when specifying -L to newfs. 2017-06-20 21:26:42 +00:00
newfs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ref.test
runtest00.sh
runtest01.sh