summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-12-10 19:19:33 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-12-10 19:19:33 +0000
commitf54cda89736f7a5f41873d2b60c3f49b64755ea3 (patch)
tree29c68ec1b305a4f8ee8c640928f16e78f6e4791d /libexec
parent60d788b5f944ac71b5dc50762c0b01ea2d1fd445 (diff)
Read/write device sectors rather than assuming sector size ==
DEV_BSIZE. Simply extract/insert the desired MBR from/into the first DEV_BSIZE bytes of the sector. Makes fdisk work with devices having a sector size different from DEV_BSIZE (512 bytes). e.g. 2048 byte sector MP3 devices. Original diff from weingart@. ok pedro@ deraadt@ weingart@
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions