freebsd-dev/sbin
David Malone cbc8bb98ef Add a "-D" flag to restore which puts it into "degraded" mode. This
makes restore less efficient, but it makes a bigger effore to read
corrupted dumps. Specifiacally, when in degreded mode:

	1) Restore shifts the input by 1 byte if it sees a problem,
	rather than one tape block.
	2) It doesn't assume the inodes are stored in ascending order.
	3) It turns some panics into warning printfs.

We also verify some fields more carefully than before.

There's probably more a degreded mode could do, but this seems to
help a lot.

Approved by:	imp, iedowse, mckusick
MFC after:	3 weeks
2006-12-05 11:18:51 +00:00
..
adjkerntz If not compiled for debugging, redirect standard input/output/error 2006-10-23 10:48:19 +00:00
atacontrol
atm
badsect
bsdlabel o '-s' flag was killed in rev. 1.75. Clean getopt(3). 2006-10-20 13:10:27 +00:00
camcontrol It's confusing to say that "Command Queueing Supported" just based 2006-12-03 07:11:55 +00:00
ccdconfig
clri
comcontrol
conscontrol
devd Fix the description of "media-type". 2006-10-24 20:20:41 +00:00
devfs - I forgot to bump a date. 2006-11-05 20:12:32 +00:00
dhclient It is possible for bpf to return a length such that: 2006-09-26 01:02:02 +00:00
dmesg
dump Make "dump /filesystem" (without options) work. 2006-10-12 20:22:31 +00:00
dumpfs Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag. 2006-10-31 22:02:24 +00:00
dumpon Whitespace and style nits. 2006-10-31 22:36:49 +00:00
fdisk
fdisk_pc98 Markup fixes. 2006-09-18 11:55:10 +00:00
ffsinfo
fsck
fsck_ffs Fix -fstrict-aliasing warning. 2006-11-01 10:56:33 +00:00
fsck_msdosfs
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand
gbde Markup fixes. 2006-09-18 11:55:10 +00:00
geom Bump .Dd for -f|-F. 2006-11-02 10:44:02 +00:00
ggate - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread. 2006-11-26 14:36:34 +00:00
gpt Use strtoll(3) instead of strtol(3) for the starting block or 2006-10-04 18:20:25 +00:00
growfs Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag. 2006-10-31 22:02:24 +00:00
gvinum Revise markup. 2006-09-30 11:02:17 +00:00
idmapd .PATH isn't necessary here. 2006-10-15 13:51:49 +00:00
ifconfig Add descriptions for p2p and autop2p. 2006-11-27 21:59:04 +00:00
init
ipf Fix the manual build. 2006-09-10 08:58:47 +00:00
ipfw Add a note about rule syntax compared to the shell used so users do not get 2006-10-09 22:12:08 +00:00
kldconfig
kldload Remove mention of "lomac" as it's been gone for a good while now (at least 2006-10-13 23:59:59 +00:00
kldstat
kldunload
ldconfig
mca Markup nit. 2006-09-30 11:12:36 +00:00
md5
mdconfig
mdmfs Remove the -C option as it does more harm than good. To be fully 2006-11-03 12:02:24 +00:00
mknod
mksnap_ffs
mount Fix debugging output of '-d', to more accurately reflect if 2006-11-14 01:07:42 +00:00
mount_autofs
mount_cd9660
mount_ext2fs
mount_hpfs
mount_msdosfs
mount_nfs Pass a string buffer named "errmsg" to nmount(). 2006-11-29 00:46:30 +00:00
mount_nfs4
mount_ntfs
mount_nullfs
mount_reiserfs
mount_std Reduce the number of errors under WARNS=6 2006-09-13 04:50:44 +00:00
mount_udf
mount_umapfs
mount_unionfs o Correct a function prototype. 2006-12-04 14:05:42 +00:00
natd Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
newfs Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournal 2006-10-31 21:52:28 +00:00
newfs_msdos
nfsiod
nos-tun
pfctl
pflogd
ping Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
ping6
quotacheck Document the -l option. 2006-11-07 19:07:52 +00:00
rcorder
reboot Cross-reference nextboot(8). 2006-11-22 13:12:34 +00:00
recoverdisk Revise markup. 2006-09-30 17:21:37 +00:00
restore Add a "-D" flag to restore which puts it into "degraded" mode. This 2006-12-05 11:18:51 +00:00
route
routed Sync up with rhyolite routed 2.31 which fixes the handling of varargs. 2006-11-05 14:49:47 +00:00
rtsol Add eye candy while I'm here: a blank line between 2006-07-27 18:28:14 +00:00
savecore
sconfig Add FBSDID, rename local variable time to not conflict with time() 2006-09-12 17:54:35 +00:00
setkey Markup fixes. 2006-09-18 11:55:10 +00:00
shutdown
slattach
spppcontrol
startslip
sunlabel
swapon
sysctl - Revert signedness type changes to "struct vmtotal"; by making 2006-11-28 12:46:02 +00:00
tunefs Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournal 2006-10-31 21:52:28 +00:00
umount
Makefile Detach mount_devfs, mount_ext2fs, mount_fdescfs, mount_procfs, 2006-11-22 22:58:10 +00:00
Makefile.inc