freebsd-skq/sbin
Kirk McKusick 91ea161570 If the lost+found directory is created by fsck, it will do a cacheino()
which sets the inoinfo's i_parent and i_dotdot to 0, but they never get
set to ROOTINO. This means that propagate will never find lost+found and
its descendents, subdirectories will remain DSTATE (instead of DFOUND)
even though they *are* correctly linked in, and pass4.c will try to
clear them unsuccessfully, thinking that there is no link count from the
DSTATE directory's parent. The result is that you need to run fsck twice
and get link count increasing errors (which are unexpected and fatal
when running in preen mode). The fix is to set i_parent and i_dotdot to
"parent" after the second cacheino() call in dir.c:allocdir().

Obtained from:	"Ethan Solomita" <ethan@geocast.com> (of the NetBSD Project)
2000-07-24 19:50:20 +00:00
..
adjkerntz Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
atm Remove unused #include. 2000-05-01 19:39:36 +00:00
badsect Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
bsdlabel Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
camcontrol Print the correct speed when speed is less than 1MB/s. 2000-07-01 21:28:49 +00:00
ccdconfig Removal of sys/device.h 1999-10-05 21:19:41 +00:00
clri $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
comcontrol Remove the use of a dash in the usage, since this isn't in keeping 2000-07-03 13:29:04 +00:00
cxconfig $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dhclient Blah, need to add /usr/bin to the path also. 2000-07-21 19:08:22 +00:00
disklabel Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
dmesg $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dump Update device name. 2000-05-07 09:27:53 +00:00
dumpfs $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dumpon * Clarify text on choosing a dump device 2000-07-14 18:04:39 +00:00
fdisk Fix a really stupid bug where I assumed sizeof(int) == 2. This resulted in 2000-07-21 18:26:20 +00:00
fdisk_pc98 Sync with sbin/i386/fdisk/fdisk.c revision 1.37. 2000-06-05 13:28:49 +00:00
fsck If the lost+found directory is created by fsck, it will do a cacheino() 2000-07-24 19:50:20 +00:00
fsck_ffs If the lost+found directory is created by fsck, it will do a cacheino() 2000-07-24 19:50:20 +00:00
fsck_ifs If the lost+found directory is created by fsck, it will do a cacheino() 2000-07-24 19:50:20 +00:00
fsdb Remove unused includes. 2000-05-01 20:01:16 +00:00
fsirand Remove unused include. 2000-05-01 20:20:05 +00:00
i386 Fix a really stupid bug where I assumed sizeof(int) == 2. This resulted in 2000-07-21 18:26:20 +00:00
ifconfig Show the actual command line usage in the man page and usage error string. 2000-07-19 17:24:53 +00:00
init Add MLINK init.8 --> securelevel.8 2000-06-09 09:40:34 +00:00
ip6fw mdoc(7) style fixes and cleanup 2000-05-04 17:34:31 +00:00
ipf add common.c to SRCS to fix compile problems 2000-05-24 20:04:41 +00:00
ipfstat add common.c to SRCS to fix compile problems 2000-05-24 20:04:41 +00:00
ipfw Fix a paste-o in the tcpoptions check (not a security problem, just a 2000-07-17 03:02:15 +00:00
ipmon Add ipl.4 manpage 2000-02-09 21:01:35 +00:00
ipnat add common.c to SRCS to fix compile problems 2000-05-24 20:04:41 +00:00
kget Now that we have uc_device.h, use that instead of hard-coding struct 2000-03-24 21:39:09 +00:00
kldload Add cross-references to respective syscalls. 1999-09-03 16:40:24 +00:00
kldstat Backout rev 1.8. This really does not give us the version number 2000-07-01 07:57:28 +00:00
kldunload Fixed bitrot in usage message (-n is now optional). 1999-09-08 05:46:47 +00:00
ldconfig Make "ldconfig" with no arguments behave the same as "ldconfig -R". 2000-07-09 19:12:49 +00:00
md5 Add -q quite mode. 1999-12-04 01:29:43 +00:00
mknod Spelling fix. 2000-03-24 01:22:53 +00:00
mount Add the snapshot option to mount_ufs. 2000-07-06 01:50:05 +00:00
mount_cd9660 Typo 1999-11-15 03:13:23 +00:00
mount_ext2fs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_hpfs First version of HPFS stuff. 1999-12-09 19:10:13 +00:00
mount_ifs Add the snapshot option to mount_ufs. 2000-07-06 01:50:05 +00:00
mount_msdos Don't call err with no format string. 2000-07-10 08:11:52 +00:00
mount_msdosfs Don't call err with no format string. 2000-07-10 08:11:52 +00:00
mount_nfs Cross-reference mount_nfs(8) and showmount(8). 2000-07-18 17:34:23 +00:00
mount_ntfs Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_null Fix a bunch of typos. 2000-05-15 14:55:56 +00:00
mount_nullfs Fix a bunch of typos. 2000-05-15 14:55:56 +00:00
mount_nwfs Pass timezone information to an nwfs mount. 2000-04-05 10:48:53 +00:00
mount_portal Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_portalfs Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_std Mention linprocfs. 2000-03-25 13:46:16 +00:00
mount_umap mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_umapfs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_union mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_unionfs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mountd Explicitly state that mountd can be made to re-read the exports file, 2000-07-03 11:43:48 +00:00
natd Suggest looking at rc.conf(5) on how to start natd(8) during boot. 2000-07-17 10:06:54 +00:00
newfs Don't try to do anything with the /dev/rXXX device. 2000-05-31 01:00:51 +00:00
newfs_msdos Update device names in examples. 2000-05-07 09:08:31 +00:00
nextboot Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
nfsd Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
nfsiod Thresh-out the nfs manual page references a bit 2000-01-13 21:47:21 +00:00
nologin $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
nos-tun Fix occurences of nos_tun to nos-tun, this improves internal 2000-06-09 06:45:18 +00:00
pc98 Sync with sbin/i386/fdisk/fdisk.c revision 1.37. 2000-06-05 13:28:49 +00:00
ping Use CMSG_LEN() to compute ping SCM_TIMESTAMP cmsg_len. 2000-03-14 17:37:19 +00:00
ping6 Correct style bugs in previous commit 2000-07-06 01:55:21 +00:00
quotacheck Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
reboot .Xr boot0cfg 8 , 2000-05-13 14:41:04 +00:00
restore Don't try to make files immutable (ie. chflags) before setting access times. 2000-07-16 23:22:15 +00:00
route Clear sin6_scope_id before passing routes into kernel, becaues kernel 2000-03-11 20:52:01 +00:00
routed Fix memory leak when route addition fails. 2000-06-02 21:19:43 +00:00
rtsol Correct style bugs in previous commit 2000-07-06 01:55:21 +00:00
savecore Tidy up the offset calculations. 2000-05-09 22:20:14 +00:00
setkey synchronize with latest kame tree. 2000-07-04 16:22:05 +00:00
shutdown $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
slattach Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
spppcontrol Supply only one author name per instance of %A, as per mdoc.samples(7). 2000-05-10 09:49:04 +00:00
startslip Fixes a potential buffer overflow with the pid filename. 2000-04-30 21:04:36 +00:00
swapon Add include of errno.h where needed, remove extern int errno where not. 2000-04-14 06:15:01 +00:00
sysctl Array of long support. 2000-07-11 21:59:54 +00:00
tunefs Open the device read-only initially and re-open read-write if necessary 2000-03-14 07:44:32 +00:00
umount Clarify "mount -a -t" example - it only unmounts stuff in /etc/fstab. 2000-07-13 16:20:54 +00:00
vinum Clarify which bit of the daemon config disables configuration saves. 2000-06-08 07:27:35 +00:00
Makefile Activate the pc98 directory. 2000-03-18 16:49:22 +00:00
Makefile.inc Part one of a "fix-and-move". Init(8) had make macros declared here 1997-02-10 17:41:33 +00:00