summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-03-31 17:53:34 +0000
committerkrw <krw@openbsd.org>2012-03-31 17:53:34 +0000
commit98fba8a922feeb914979d69259518a5355dccfd7 (patch)
treefd2cb10d492007ede5e91e77533cfa7e33fa0e3b /sys/kern/subr_disk.c
parentsync cvsignore patterns. ok sthen@ (diff)
downloadwireguard-openbsd-98fba8a922feeb914979d69259518a5355dccfd7.tar.xz
wireguard-openbsd-98fba8a922feeb914979d69259518a5355dccfd7.zip
Make fsck_msdos work with non-512-byte sector devices. Problem noted
by and fixes tested by Alexey Vatchenko. Add a bunch of tests and error messages so whatever media/devices this breaks will be more easily fixed. Ignore invalid signatures since we have other checks and many media have missing signatures. Use character device to read disk even when called directly.
Diffstat (limited to 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions