freebsd-dev/sbin
mckusick 09c1d3fd07 Dump is hard-wired to believe that it can read disks on
1024-byte boundaries. For many years this was a reasonable
assumption. However, in recent years we have begun seeing
devices with 2048-byte sectors. These devices return errors
when dump tries to read starting in the middle of a sector
or when it tries to read only the first half of a sector.
Rather than change the native block size used by dump (and
thus create an incompatible dump format), this fix checks
for transfer requests that start and/or end on a non-sector
boundary. When such a read is detected, the new code reads
the entire sector and copies out just the part that dump
needs.

Reviewed by:	Poul-Henning Kamp <phk@critter.freebsd.dk>
Approved by:	re (John Baldwin <jhb@FreeBSD.org>)
Sponsored by:   DARPA & NAI Labs.
2003-05-07 18:27:09 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol DOnt allow getting caps from other than master and slave device :) 2003-05-05 10:28:37 +00:00
atm Use size_t type vars in sizeof contexts. 2003-05-02 06:46:24 +00:00
badsect Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
bsdlabel Compile bsdlabel on all platforms. 2003-05-05 21:28:08 +00:00
camcontrol Set WARNS=1. RESOLUTION_MAX macro has major signed/unsigned issues. 2003-05-02 06:56:32 +00:00
ccdconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
conscontrol
cxconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
devd sysctlbyname takes a size_t as its 5th argument, not a pointer. 2003-05-02 17:38:08 +00:00
devfs
dhclient Hook omshell(1) up to the build. 2003-03-25 03:16:53 +00:00
disklabel Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
dmesg bufpos is used in size_t contexts, so make it one. 2003-05-02 07:08:52 +00:00
dump Dump is hard-wired to believe that it can read disks on 2003-05-07 18:27:09 +00:00
dumpfs mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
dumpon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fdisk Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo
fsck Back out previous delta to fix fsck on filesystems without an fstab entry, 2003-04-25 01:12:35 +00:00
fsck_ffs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fsck_msdosfs
fsdb
fsirand
gbde Normalize, fix ``make checkdpadd''. 2003-04-16 11:54:11 +00:00
gpt Show the paritition types that we recognize in human readable format. eg: 2003-02-13 01:00:26 +00:00
growfs Fix typos in comments; some style(9) fixes; no code changes. 2003-04-26 15:22:29 +00:00
ifconfig Add media types and options for ATM. While on most ATM cards media cannot 2003-04-29 17:23:23 +00:00
init There are 5 securelevels, not 4. 2003-03-26 01:30:34 +00:00
ip6fw Make -N option work. 2003-03-25 11:27:46 +00:00
ipf
ipfs
ipfstat
ipfw Add a 'verrevpath' option that verifies the interface that a packet 2003-03-15 01:13:00 +00:00
ipmon Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY after 2003-04-05 10:42:38 +00:00
ipnat
kldconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig
mca
md5 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mdconfig Add .Xr's to mdmfs(8). 2003-04-27 01:46:56 +00:00
mdmfs Add an example of how to create an fstab entry. 2003-05-05 23:41:17 +00:00
mknod Remove some more MAKEDEV information. 2003-03-25 18:43:10 +00:00
mksnap_ffs Close out a possible race where anybody in group operator could 2003-03-02 08:07:57 +00:00
mount Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mount_cd9660
mount_ext2fs
mount_hpfs
mount_msdosfs
mount_nfs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mount_ntfs
mount_nullfs The .Xr utility 2003-02-05 13:50:41 +00:00
mount_nwfs
mount_portalfs
mount_smbfs
mount_std
mount_udf
mount_umapfs
mount_unionfs
natd Don't pretend natd(8) doesn't work with ppp(8) interfaces. 2003-02-28 15:41:45 +00:00
newfs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
newfs_msdos Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
nfsiod Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
nologin
nos-tun
ping Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ping6
quotacheck Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
raidctl
rcorder
reboot Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
restore Removed all vestiges of KerberosIV. 2003-05-01 21:18:36 +00:00
route There is an undocument feature that ``route -vnd flush'' prints 2003-04-16 12:06:53 +00:00
routed Note that gated is a commercial routing product now, and remove 2003-05-04 06:13:25 +00:00
rtsol
savecore
setkey Use NI_xxx macros. 2003-04-16 09:53:29 +00:00
shutdown Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
slattach
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
sunlabel Fix the misspelling of DPADD, then fix "make checkdpadd". 2003-05-03 19:49:05 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl This file does not seem to serve any purpose. It has never been hooked up 2003-04-28 00:38:48 +00:00
tunefs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
umount Bump the date for recent commits. 2003-04-07 22:58:35 +00:00
vinum Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
Makefile Compile bsdlabel on all platforms. 2003-05-05 21:28:08 +00:00
Makefile.inc