freebsd-nq/sbin
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
..
adjkerntz DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bsdlabel DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
camcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ccdconfig DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
clri DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
comcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
conscontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ddb DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
decryptcore DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
devd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
devfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
dhclient dhclient(8) should not close stdio using daemon(3) function. 2017-11-12 08:54:23 +00:00
dmesg DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
dump DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
dumpfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
dumpon DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
etherswitchcfg DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fdisk DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ffsinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fsck DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fsck_ffs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fsck_msdosfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fsdb DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fsirand DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
gbde DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
geom DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ggate DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
growfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
gvinum DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
hastctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
hastd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ifconfig Add a place for a driver to report rx timestamps in nanoseconds from 2017-11-07 09:29:14 +00:00
init DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ipf rescue ipf: Remove hacks and link in libipf directly. 2017-11-10 07:52:58 +00:00
ipfw DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
iscontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
kldconfig DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
kldload DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
kldstat DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
kldunload DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ldconfig DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
md5 DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mdconfig DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mdmfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mknod DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mksnap_ffs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_cd9660 DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_fusefs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_msdosfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_nfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_nullfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_udf DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mount_unionfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nandfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
natd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
newfs newfs: warn if newer than kernel 2017-11-15 18:40:40 +00:00
newfs_msdos DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
newfs_nandfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nfsiod DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nos-tun DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nvmecontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pfctl pfctl: teach route-to to deal with interfaces with multiple addresses 2017-11-15 12:27:02 +00:00
pflogd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ping We return a pointer when we are using cap_init() or cap_service_open() 2017-11-12 07:18:10 +00:00
ping6 DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
quotacheck DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rcorder DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
reboot Add -c to the usage statements. 2017-10-31 03:39:36 +00:00
recoverdisk DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
resolvconf sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
restore DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
route DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
routed DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rtsol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
savecore DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sconfig DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
setkey DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
shutdown Add -c to the usage statements. 2017-10-31 03:39:36 +00:00
spppcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sunlabel DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
swapon DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sysctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
tunefs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
umount DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
zfsbootcfg DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile Remove badsect(8). 2017-11-05 22:00:54 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.mips
Makefile.sparc64