freebsd-src/sbin
Kirk McKusick d51bdf327d Have fsdb(8) only mark a filesystem dirty when it is modified.
Until this update, the fsdb(8) command always marked a filesystem
as needing a full fsck unless it was run with the -n flag which
allowed no changes to be made.

This change tracks modifications to the filesystem. Two types of
changes are tracked. The first type of changes are those that are
not critical to the integrity of the filesystem such as changes to
owner, group, time stamps, access mode, and generation number. The
second type of changes are those that do affect the integrity of
the filesystem including zeroing inodes, changing block pointers,
directory entries, link counts, file lengths, file types, and file
flags.

When quitting having made no changes or only changes to data that
is not critical to filesystem integrity, the clean state of the
filesystem is left unchanged. But if filesystem critical data are
changed then fsdb will set the unclean flag which will require a
full fsck to be run before the filesystem can be mounted.

MFC-after:    1 week
Sponsored-by: The FreeBSD Foundation
2023-07-25 19:29:05 -07:00
..
adjkerntz Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
bectl libbe: recursively promote deep BE datasets 2023-07-17 14:08:32 -05:00
bsdlabel Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
camcontrol camcontrol: Migrate to modern uintXX_t from u_intXX_t 2023-07-24 21:32:57 -06:00
ccdconfig spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
clri Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
comcontrol Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
conscontrol spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ddb spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
decryptcore decryptcore: Request the OpenSSL 1.1 API 2023-06-05 13:48:05 -04:00
devd spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
devfs spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
devmatch Make SYNOPSIS match DESCRIPTION. 2022-11-03 00:20:12 +01:00
dhclient dhclient: fix build on i386 2023-07-10 15:03:39 -05:00
dmesg Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dump Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dumpfs Yet another try to fix printf format conflict. 2023-04-30 00:00:23 -07:00
dumpon dumpon: Request the OpenSSL 1.1 API 2023-06-02 10:00:48 -04:00
etherswitchcfg spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fdisk Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
ffsinfo Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fsck Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fsck_ffs Debugging output additions. No functional changes intended. 2023-07-25 14:03:43 -07:00
fsck_msdosfs spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fsdb Have fsdb(8) only mark a filesystem dirty when it is modified. 2023-07-25 19:29:05 -07:00
fsirand spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
gbde spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
geom spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ggate spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
growfs Fix size differences between architectures of the UFS/FFS CGSIZE macro value. 2023-05-15 12:57:15 -07:00
gvinum spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hastctl spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hastd hastd: Fix typos 2023-06-01 20:33:39 -06:00
ifconfig ifconfig_netlink.c: whitespace cleanup. 2023-07-20 10:54:56 -07:00
init Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ipf ipf: low-effort fix to make it compilable without inet6 2023-07-05 10:02:32 +00:00
ipfw ipfw: Remove set but unused variables. 2023-06-27 10:19:32 -07:00
kldconfig spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kldload spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kldstat spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kldunload spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ldconfig ldconfig: Use __PATH_ELF_HINTS("32") over _PATH_ELF32_HINTS 2023-07-09 18:50:15 +01:00
md5 md5: Add missing <errno.h>. 2023-05-11 06:24:02 +00:00
mdconfig Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
mdmfs spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
mknod Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mksnap_ffs mksnap_ffs.8: update /home examples 2023-05-24 10:31:50 -05:00
mount spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
mount_cd9660 Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_fusefs spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
mount_msdosfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_nfs mount_nfs.8: Note a case where the "nconnect" option does not work 2023-06-18 13:02:20 -07:00
mount_nullfs mount_nullfs(8): refer to nullfs(5) 2023-06-12 08:35:36 -06:00
mount_udf Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_unionfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
natd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
newfs Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
newfs_msdos Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
nfsiod Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
nos-tun Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
nvmecontrol nvmecontrol.8: Fix a few formatting nits. 2023-07-13 17:10:36 -07:00
pfctl pf: initial SCTP support 2023-07-21 12:32:18 +02:00
pfilctl spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pflogd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ping ping: low-effort fix to make it compilable without inet6 2023-07-05 10:02:32 +00:00
quotacheck Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rcorder rc.suspend: update man pages for new keyword 2023-06-16 13:51:10 -03:00
reboot Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
recoverdisk Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
resolvconf pkgbase: Put resolvconf in its own package 2022-10-26 19:46:26 +02:00
restore Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
route route.8: mention DXR in FIB_ALGO section 2023-06-15 07:21:51 +02:00
routed Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
rtsol Update Makefile.depend files 2019-12-11 17:37:53 +00:00
savecore Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
setkey setkey(8): document NAT-T and NAT-T MTU extensions syntax 2023-05-30 01:10:02 +03:00
shutdown Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
swapon Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
sysctl Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
tests
tunefs Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
umount Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
veriexec veriexec: Add SPDX-License-Identifier 2023-04-16 21:23:00 -04:00
zfsbootcfg Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile Retire WITHOUT_CXX option 2023-01-26 21:13:16 -05:00
Makefile.amd64 retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
Makefile.arm
Makefile.i386 retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.powerpc64 NVME support is only for x86 and powerpc64. 2018-06-14 01:15:19 +00:00