freebsd-nq/sbin/newfs
Ed Maste 4acb68a8a5 newfs: warn if newer than kernel
Creating a UFS filesystem with a newfs newer than the running kernel,
and then mounting that filesystem, can lead to interesting failures.

Add a safety belt to explicitly warn when newfs is newer than the
running kernel.

Reviewed by:	gjb, jhb, mckusick
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12765
2017-11-15 18:40:40 +00:00
..
Makefile sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mkfs.c Continuing efforts to provide hardening of FFS, this change adds a 2017-09-22 12:45:15 +00:00
newfs.8 Bump date for today's commit. 2017-07-07 16:58:40 +00:00
newfs.c newfs: warn if newer than kernel 2017-11-15 18:40:40 +00:00
newfs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ref.test
runtest00.sh
runtest01.sh