1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00
freebsd/sbin
Xin LI 401475f50c Fix a bug with dirty file system handling.
r356313 broke handling of dirty file system because we have restricted
the correction of "odd" byte sequences to checkfat(), and as a result
the dirty bit is never cleared.  The old fsck_msdosfs code would write
FAT twice to fix the dirty bit, which is also not ideal.

Fix this by introducing a new rountine, cleardirty() which will perform
the set of clean bit only, and use it in checkfilesys() if we thought
the file system was dirty.

Reviewed by:		cem, emaste
MFC after:		3 day
Differential Revision:	https://reviews.freebsd.org/D24581
2020-04-27 02:01:48 +00:00
..
adjkerntz
bectl bectl.8: correctly sort SEE ALSO section after 360078 2020-04-19 01:43:59 +00:00
bsdlabel Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
camcontrol Declare packed struct ata_params as 2-byte-aligned 2019-12-21 02:44:00 +00:00
ccdconfig
clri In preparation for adding inode check-hashes, clean up and 2018-11-13 21:40:56 +00:00
comcontrol Remove sio(4). 2019-11-21 01:24:49 +00:00
conscontrol Remove sio(4). 2019-11-21 01:24:49 +00:00
ddb ddb: use 'textdump dump' instead of 'call doadump' 2019-10-18 12:32:01 +00:00
decryptcore EKCD: Preload error strings, PRNG seed; use OAEP padding 2020-04-23 17:56:48 +00:00
devd Add missing "ereport." prefixes of ZFS events. 2019-12-18 18:43:44 +00:00
devfs
devmatch Update Makefile.depend files 2019-12-11 17:37:53 +00:00
dhclient Update Makefile.depend files 2019-12-11 17:37:53 +00:00
dmesg
dump Clean up global variable declarations in the dump and restore 2020-04-04 00:56:56 +00:00
dumpfs
dumpon dumpon.8: Update minimum key size language 2020-04-23 18:04:52 +00:00
etherswitchcfg Add the 'drop tagged' flag support for ethernet switch ports. 2019-06-28 22:12:43 +00:00
fdisk Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
ffsinfo In preparation for adding inode check-hashes, clean up and 2018-11-13 21:40:56 +00:00
fsck Remove unused includes. 2019-12-22 05:44:29 +00:00
fsck_ffs Inode check-hash errors were being reported after system crashes. 2020-04-10 23:58:07 +00:00
fsck_msdosfs Fix a bug with dirty file system handling. 2020-04-27 02:01:48 +00:00
fsdb fsck_ffs/fsdb: fix -fno-common build 2020-03-29 20:03:46 +00:00
fsirand fsirand(8): Just use arc4random(3) 2019-12-13 04:12:13 +00:00
gbde gbde(8) - simplify randomisation with arc4random_buf 2019-02-11 00:11:02 +00:00
geom Remove all the RELEASE_CRUNCH defines, they are useless. 2019-12-16 21:06:24 +00:00
ggate Fix typo not -> nor and add 'the' because we are talking about specific flags 2019-09-06 15:01:47 +00:00
growfs Normally when an attempt is made to mount a UFS/FFS filesystem whose 2018-12-06 00:09:39 +00:00
gvinum
hastctl
hastd Fix typo in hastd.8 manual page. 2019-12-22 01:22:51 +00:00
ifconfig lagg: Further cleanup of the rr_limit option. 2020-01-09 14:58:41 +00:00
init init(8): set environment variables from the "daemon" class as well 2020-02-05 04:27:44 +00:00
ipf Create a link to the ipmon.conf.5 man page as documented in ipmon.5. 2019-06-27 12:37:44 +00:00
ipfw Use IP_FW_NAT44_DESTROY opcode for IP_FW3 socket option to destroy 2020-03-24 12:27:02 +00:00
iscontrol iscontrol: move definition of vflag/iscsidev to iscontrol.c 2020-03-29 02:28:15 +00:00
kldconfig
kldload
kldstat
kldunload
ldconfig ldconfig: add aout deprecation notice 2020-03-17 15:57:25 +00:00
md5 Close filedescriptors when done with them. 2019-04-19 06:49:46 +00:00
mdconfig Use VOP_ADVISE() with POSIX_FADV_DONTNEED instead of IO_DIRECT to 2018-12-21 08:15:31 +00:00
mdmfs mdmfs(8): add -k skel option to populate fs from a skeleton 2019-11-01 03:10:53 +00:00
mknod
mksnap_ffs
mount Add two options to allow mount to avoid covering up existing mount points. 2019-09-23 04:28:07 +00:00
mount_cd9660
mount_fusefs Correct a handful of typos/grammos. 2019-12-07 15:17:00 +00:00
mount_msdosfs
mount_nfs Align the buffer to the alignment of the structure we expect. 2020-03-05 21:01:47 +00:00
mount_nullfs
mount_udf
mount_unionfs
natd
newfs Correct the location of the first backup superblock in fsck_ffs.8. 2019-08-07 16:56:00 +00:00
newfs_msdos Fix the following -Werror warning from clang 10.0.0 in newfs_msdos: 2020-01-28 20:10:26 +00:00
nfsiod pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
nos-tun pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
nvmecontrol Allow namespace-id specification where it makes sense. 2020-04-20 14:54:41 +00:00
pfctl pfctl: Call ifa_load() before ifa_grouplookup() 2020-04-19 15:37:13 +00:00
pfilctl Hopefully fix compilation by other compilers. 2019-02-01 00:34:18 +00:00
pflogd
ping Update Makefile.depend files 2019-12-11 17:37:53 +00:00
ping6 Make ping6(1) return code consistent with the man page. 2020-02-15 15:39:53 +00:00
quotacheck Normally when an attempt is made to mount a UFS/FFS filesystem whose 2018-12-06 00:09:39 +00:00
rcorder pkgbase: Move rc scripts and related files to their own packages 2019-09-05 14:08:45 +00:00
reboot Remove sio(4). 2019-11-21 01:24:49 +00:00
recoverdisk Bump date after recent changes and lint 2020-04-03 13:05:26 +00:00
resolvconf
restore Clean up global variable declarations in the dump and restore 2020-04-04 00:56:56 +00:00
route route(8): clarify -prefixlen description 2019-01-10 00:10:12 +00:00
routed
rtsol Update Makefile.depend files 2019-12-11 17:37:53 +00:00
savecore savecore: include time zone in info.N file 2020-01-13 22:01:37 +00:00
sconfig Fix the following -Werror warning from clang 10.0.0 in sconfig: 2020-02-13 18:37:17 +00:00
setkey Remove the link to libl which only contains a stub function 2020-03-23 14:37:00 +00:00
shutdown Small tweak to the default behavior of shutdown -c 2020-01-17 01:20:48 +00:00
spppcontrol
swapon Fix a logic bug in error handling code. It is an error if p == NULL. 2019-12-09 07:18:40 +00:00
sysctl evdev: export event device properties through sysctl interface 2019-02-24 18:47:04 +00:00
tests
tunefs The size of the UFS soft-updates journal must be a multiple of the 2019-03-02 21:22:56 +00:00
umount Improve manual page formatting 2020-04-14 10:10:31 +00:00
veriexec Add verifying manifest loader for mac_veriexec 2019-02-26 06:17:23 +00:00
zfsbootcfg
Makefile Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64