summaryrefslogtreecommitdiffstats
path: root/lib/libncp
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-01 20:06:12 +0000
committerjhb <jhb@FreeBSD.org>2007-11-01 20:06:12 +0000
commit85841216d308c824f4b1a02819c83ea2d36565c6 (patch)
tree6285a9d8e2f838098e01308dd01c79587242dae2 /lib/libncp
parentc2e7fe96311240114be15c33991eb8f81b4bc6f8 (diff)
downloadFreeBSD-src-85841216d308c824f4b1a02819c83ea2d36565c6.zip
FreeBSD-src-85841216d308c824f4b1a02819c83ea2d36565c6.tar.gz
Fix 'gpt boot' to work on disk devices and not just plain files. Writes to
disk devices have to consist of a block of sectors. Thus, when writing gptboot to the boot partition, round the size of the gptboot file up to a sector boundary, pre-zero it, and write out the full buffer to disk.
Diffstat (limited to 'lib/libncp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud