commit | 10fdf8b469c2d14de9e0d1b1e8cef898579787f9 | [log] [tgz] |
---|---|---|
author | jhb <jhb> | Thu Nov 01 20:06:12 2007 |
committer | jhb <jhb> | Thu Nov 01 20:06:12 2007 |
tree | aa220150503dd9a216b2bf5a669818a10449a174 | |
parent | 66c40e52e9e6c42ee64cad88fc82b70eb5266f53 [diff] |
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.