diff options
author | jhb <jhb@FreeBSD.org> | 2007-11-01 20:06:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-11-01 20:06:12 +0000 |
commit | 85841216d308c824f4b1a02819c83ea2d36565c6 (patch) | |
tree | 6285a9d8e2f838098e01308dd01c79587242dae2 /usr.sbin/rpc.statd/statd.c | |
parent | c2e7fe96311240114be15c33991eb8f81b4bc6f8 (diff) | |
download | FreeBSD-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 'usr.sbin/rpc.statd/statd.c')
0 files changed, 0 insertions, 0 deletions