freebsd-skq/sbin
Kirk McKusick 8c22cf9b09 Fix fsck_ffs incorrectly reporting "CANNOT READ BLK: NNNN" errors.
A long-standing bug in Pass 1 of fsck_ffs in which it is reading in
blocks of inodes to check their block pointers. It failed to round
up the size of the read to a disk block size. When disks would
accept 512-byte aligned reads, the bug rarely manifested itself.
But many recent disks will no longer accept 512-byte aligned reads
but require 4096-byte aligned reads, so the failure to properly
round-up read sizes to multiples of 4096 bytes makes the error
much more likely to occur.

Reported by:  Peter Holm and others
Tested by:    Peter Holm and Rozhuk Ivan
MFC after:    3 days
Sponsored by: Netflix
2021-01-26 11:46:38 -08:00
..
adjkerntz
bectl bectl: remove spurious aok variable 2021-01-16 00:07:50 -06:00
bsdlabel
camcontrol sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
ccdconfig
clri
comcontrol
conscontrol
ddb
decryptcore decryptcore: preload OpenSSL error strings; seed PRNG 2020-12-11 14:32:42 +00:00
devd devd.conf(5): Fix a mandoc related issue 2020-12-19 11:03:04 +00:00
devfs add documentation that the rules need to be reloaded, and how to do it... 2020-12-01 23:25:21 +00:00
devmatch devmatch(8): Fix section ordering 2020-11-20 16:34:01 +00:00
dhclient dhclient(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:42:15 +00:00
dmesg
dump dump(8): clarify the recommended use of cache and snapshots 2020-12-28 21:56:58 +00:00
dumpfs
dumpon dumpon(8): Add missing section arguments 2020-12-28 16:48:58 +01:00
etherswitchcfg
fdisk
ffsinfo
fsck Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
fsck_ffs Fix fsck_ffs incorrectly reporting "CANNOT READ BLK: NNNN" errors. 2021-01-26 11:46:38 -08:00
fsck_msdosfs Use %ju and cast to (uintmax_t) to avoid using PRI* macros. 2020-09-28 04:30:31 +00:00
fsdb Rewrite the disk I/O management system in fsck_ffs(8). Other than 2021-01-07 15:03:15 -08:00
fsirand Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
gbde
geom geom(8): list geoms with /dev/ prefix 2020-12-12 07:22:38 +00:00
ggate build: remove LIBPTHREAD/LIBTHR build options 2021-01-22 12:33:27 -06:00
growfs Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
gvinum gvinum(8): Fix an issue reported by mandoc 2020-10-03 18:49:00 +00:00
hastctl
hastd hastd(8) assumes it has no extra file descriptors opened 2020-11-29 13:45:53 +00:00
ifconfig ifconfig: fix UBSan signed shift error 2021-01-25 15:09:50 +00:00
init sbin/init: Reduce code duplication by using %m for error message 2020-12-25 17:49:33 -08:00
ipf
ipfw ipfw(8): Fix a few mandoc related issues 2020-12-19 12:47:40 +00:00
iscontrol
kldconfig kldconfig(8): Add EXAMPLES to the man page 2020-09-29 17:52:15 +00:00
kldload
kldstat kldstat(8): Add EXAMPLES to the man page 2020-09-02 18:15:57 +00:00
kldunload
ldconfig ldconfig: Retire a.out support 2020-12-31 10:29:08 -05:00
md5
mdconfig Use Cm macros instead of Ar when referring to a specific memory disk type 2020-11-06 15:55:13 +00:00
mdmfs mdmfs(8): Fix an issue reported by mandoc 2020-10-03 18:47:50 +00:00
mknod
mksnap_ffs
mount Move the mount name to bit mapping into sys/mount.h so it can be shared with the 2020-08-19 17:09:58 +00:00
mount_cd9660
mount_fusefs
mount_msdosfs Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
mount_nfs mount_nfs: update man page description for oneopenown 2021-01-17 19:00:41 -08:00
mount_nullfs Remove the check that prevents creating "loops" from mount_nullfs(8). 2020-10-25 14:09:00 +00:00
mount_udf
mount_unionfs
natd
newfs Reference newfs_msdos(8) from the newfs(8) manual 2021-01-07 10:24:07 +01:00
newfs_msdos Fix makefs bootstrap on macOS after D25563 2020-08-25 13:30:24 +00:00
nfsiod
nos-tun
nvmecontrol Fix 32-bit build post 6733401935 2021-01-08 23:38:30 +01:00
pfctl pfctl: FreeBSD now supports DIOCGIFSPEED 2021-01-25 19:58:22 +01:00
pfilctl Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
pflogd
ping ICMP checksum test: Fix for big endian 2021-01-11 19:03:46 -07:00
ping6 Merge ping6 to ping 2020-11-26 04:29:30 +00:00
quotacheck
rcorder [rcorder] [crunch] Fix C function declarations to include void 2020-09-21 17:59:45 +00:00
reboot Address a mandoc warning 2020-11-10 14:17:05 +00:00
recoverdisk Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
resolvconf
restore
route Remove remnants of classful behavior in route(8). 2021-01-16 23:45:30 +00:00
routed sbin/routed: Remove unused code for sgi and NetBSD. 2020-12-25 17:42:47 -08:00
rtsol
savecore savecore: bail on write error even when decompressing 2020-12-11 22:52:12 +00:00
sconfig
setkey
shutdown
spppcontrol
swapon
sysctl sbin/sysctl: Style fix 2020-12-23 12:45:11 -05:00
tests
tunefs Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
umount
veriexec veriexec(8): Bugfix for an issue reported by mandoc 2020-10-03 18:46:42 +00:00
zfsbootcfg loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
Makefile Merge ping6 to ping 2020-11-26 04:29:30 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.mips
Makefile.powerpc64