freebsd-nq/sbin
Xin LI c0ed8991fb Make background fsck based summary adjustments actually work by
initializing the sysctl mibs data before actually using them.

The original patchset (which is the actual version that is running
on my testboxes) have checked whether all of these sysctls and
refuses to do background fsck if we don't have them.  Kirk has
pointed out that refusing running fsck on old kernels is pointless,
as old kernels will recompute the summary at mount time, so I
have removed these checks.

Unfortunatelly, as the checks will initialize the mib values of
those sysctl's, and which are vital for the runtime summary
adjustment to work, we can not simply remove the check, which
will lead to problem when running background fsck over a dirty
volume.  Add these checks in a different way: give a warning rather
than refusing to work, and complain if the functionality is not
available when adjustments are necessary.

Noticed by:	A power failure at my lab
Pointy hat:	me
MFC After:	3 days
2005-03-07 08:42:49 +00:00
..
adjkerntz Expand *n't contractions. 2005-02-13 22:25:33 +00:00
atacontrol Distinguish between TCQ and NCQ type of tagged queing. 2004-09-15 11:22:05 +00:00
atm Expand contractions. 2005-02-13 23:45:54 +00:00
badsect Expand *n't contractions. 2005-02-13 22:25:33 +00:00
bsdlabel Scheduled mdoc(7) sweep. 2005-01-10 16:17:34 +00:00
camcontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ccdconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
clri Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
comcontrol Sort sections. 2005-01-18 10:09:38 +00:00
conscontrol Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devd Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devfs Remove filtering on major device number. These are assigned randomly 2005-02-27 17:22:36 +00:00
dhclient Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
dmesg WARNS=6 cleanup: 2005-01-17 13:56:46 +00:00
dump Use a signal-safe type for two variables that are used to synchronise 2005-03-02 02:30:08 +00:00
dumpfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
dumpon Sort sections. 2005-01-18 10:09:38 +00:00
fdisk Add 0xbf as new partition id for Solaris. 2004-11-10 07:48:29 +00:00
fdisk_pc98 Merged from src/sbin/fdisk/fdisk.c revision 1.75. 2004-10-24 12:05:10 +00:00
ffsinfo Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck_ffs Make background fsck based summary adjustments actually work by 2005-03-07 08:42:49 +00:00
fsck_msdosfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:39:51 +00:00
fsdb Reword a sentence to conform with our mdoc(7) style. 2005-02-12 23:23:53 +00:00
fsirand Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
gbde - Fixed description of the "destroy" command options. 2005-02-12 21:47:05 +00:00
geom Typos and grammar fixes, wordsmithing 2005-02-28 01:33:10 +00:00
ggate Sort sections. 2005-01-18 10:09:38 +00:00
gpt Scheduled mdoc(7) sweep. 2005-01-10 16:17:34 +00:00
growfs Sort sections. 2005-01-18 10:09:38 +00:00
gvinum Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
idmapd Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
ifconfig Use afswch->af_other_status for carp_status() and pfsync_status(). 2005-02-22 14:07:47 +00:00
init Sort sections. 2005-01-18 10:09:38 +00:00
ip6fw Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ipf Link a couple of missing manpages 2005-01-07 09:22:02 +00:00
ipfs Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
ipfstat style.Makefile(5): 2004-02-23 20:25:27 +00:00
ipfw Bring back the full packet destination manipulation for 'ipfw fwd' 2005-02-22 17:40:40 +00:00
ipmon Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
ipnat style.Makefile(5): 2004-02-23 20:25:27 +00:00
kldconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
kldload Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
kldstat Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
kldunload - Correctly spell MOD_QUIESCE 2005-02-09 22:06:16 +00:00
ldconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mca Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
md5 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
mdconfig We can specify device size in bytes. Document this in usage. 2005-03-01 14:56:49 +00:00
mdmfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mknod Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_autofs spell "file system" correctly 2005-01-24 20:06:16 +00:00
mount_cd9660 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mount_ext2fs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_hpfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_msdosfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_nfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_nfs4 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_ntfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_nullfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_std Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero). 2004-11-29 09:35:01 +00:00
mount_udf Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_ufs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mount_umapfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mount_unionfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
natd Eliminate macro calls inside literal displays. 2005-01-15 12:28:01 +00:00
newfs When creating a new FFS file system, the block size will indirectly 2005-02-20 06:33:18 +00:00
newfs_msdos Expand *n't contractions. 2005-02-13 22:25:33 +00:00
nfsiod Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Remove -I from CFLAGS. This splipped in with the 3.5 import (as I was 2004-10-03 06:19:22 +00:00
pflogd Fixed misspelling of DPADD. 2004-10-24 14:25:53 +00:00
ping o Store timestamp in network byte order. 2004-09-30 07:35:56 +00:00
ping6 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
quotacheck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
rcorder Deal with harmful leading whitespace. 2004-07-02 18:37:52 +00:00
reboot Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
recoverdisk Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
restore Expand *n't contractions. 2005-02-13 22:25:33 +00:00
route Expand *n't contractions. 2005-02-13 22:25:33 +00:00
routed Sort sections. 2005-01-18 10:09:38 +00:00
rtsol Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
savecore style(9). 2005-02-26 01:19:21 +00:00
sconfig Fix typos. 2004-12-30 01:48:12 +00:00
setkey Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
shutdown Use new style declarations instead of K&R ones. 2005-01-25 08:40:51 +00:00
slattach Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
spppcontrol Expand contractions. 2005-02-13 23:45:54 +00:00
startslip Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sunlabel Fix grammar error. 2005-02-15 22:31:05 +00:00
swapon Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sysctl Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
tunefs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
umount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00