opnsense-src/sbin
Kirk McKusick 6bae6625e0 Improve handling of missing '.' and '..' in UFS directories.
The UFS filesystem expects to find '.' and '..' as the first two entries
in a directory. The kernel's UFS name cache can become quite confused
when these two entries are not present as the first two entries.

Prior to this change, when the fsck_ffs(8) utility detected that
'.' and/or '..' were missing, it would report them, but only offered
to replace them if the space at the beginning of the directory was
available. Otherwise it was left to the system administrator to
move the offending file(s) out of the way and then rerun fsck_ffs(8)
to create the '.' and '..' entries.

With this change, fsck_ffs(8) will always be able to create the '.'
and/or '..' entries. It moves any files in the way elsewhere in the
directory block. If there is no room in the directory block to which
to move them, they are placed in the lost+found directory.

Reported by:  Peter Holm
Sponsored by: The FreeBSD Foundation
2022-08-17 14:19:59 -07:00
..
adjkerntz
bectl
bsdlabel
camcontrol
ccdconfig
clri
comcontrol
conscontrol
ddb mac: add new mac_ddb(4) policy 2022-07-18 22:06:15 +00:00
decryptcore Indicate that kgdb.1 is from ports/devel/gdb. 2022-08-14 15:17:29 +02:00
devd
devfs
devmatch
dhclient
dmesg
dump Add a flags parameter to the ffs_sbget() function that reads UFS superblocks. 2022-07-30 22:51:38 -07:00
dumpfs Move the ability to search for alternate UFS superblocks from fsck_ffs(8) 2022-08-13 12:43:40 -07:00
dumpon Indicate which port gdb.1 and kgdb.1 come from. 2022-08-17 19:13:22 +02:00
etherswitchcfg
fdisk
ffsinfo Move the ability to search for alternate UFS superblocks from fsck_ffs(8) 2022-08-13 12:43:40 -07:00
fsck
fsck_ffs Improve handling of missing '.' and '..' in UFS directories. 2022-08-17 14:19:59 -07:00
fsck_msdosfs
fsdb Move the ability to search for alternate UFS superblocks from fsck_ffs(8) 2022-08-13 12:43:40 -07:00
fsirand Add a flags parameter to the ffs_sbget() function that reads UFS superblocks. 2022-07-30 22:51:38 -07:00
gbde
geom Fix for 90e2971 that caused some geli commands to return the wrong exit status. 2022-07-29 11:11:46 -07:00
ggate
growfs Add a flags parameter to the ffs_sbget() function that reads UFS superblocks. 2022-07-30 22:51:38 -07:00
gvinum Fix wrong capitalization in man page references. 2022-08-13 20:46:59 +02:00
hastctl
hastd
ifconfig Fix wrong capitalization in man page references. 2022-08-13 20:46:59 +02:00
init
ipf
ipfw ipfw: make it possible to specify MTU for "unreach needfrag" action 2022-08-17 08:24:11 -07:00
kldconfig
kldload
kldstat
kldunload
ldconfig
md5 sbin/md5.c: fix -q -c for BSD style versions 2022-07-26 23:04:57 +02:00
mdconfig
mdmfs
mknod
mksnap_ffs
mount Delete xref to suidperl(1) which has long since been removed in perl5.12. 2022-08-14 15:43:27 +02:00
mount_cd9660
mount_fusefs In man page cross refs to sudo, indicate it comes from ports/security/sudo. 2022-08-14 11:44:43 +02:00
mount_msdosfs
mount_nfs pkgbase: Put mount_nfs in the FreeBSD-nfs package 2022-08-16 21:15:04 +02:00
mount_nullfs
mount_udf
mount_unionfs
natd
newfs The fdformat man page is in section 8 (not 1). 2022-08-14 18:14:52 +02:00
newfs_msdos
nfsiod
nos-tun
nvmecontrol
pfctl pf: stop resolving hosts as dns that use ":" modifier 2022-08-08 18:31:52 +02:00
pfilctl
pflogd
ping
ping6
quotacheck Add a flags parameter to the ffs_sbget() function that reads UFS superblocks. 2022-07-30 22:51:38 -07:00
rcorder
reboot
recoverdisk
resolvconf
restore
route
routed
rtsol
savecore
sconfig
setkey Indicate that racoon.8 is in ports/security/ipsec-tools. 2022-08-14 15:55:34 +02:00
shutdown
swapon
sysctl
tests
tunefs Update date in tunefs(8) manual page. 2022-08-16 16:46:59 -07:00
umount
veriexec Add -S option to veriexec 2022-07-19 08:59:53 -07:00
zfsbootcfg
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc64