jhb 2007-11-01 20:06:12 UTC
FreeBSD src repository
Modified files:
sbin/gpt boot.c
Log:
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.
Revision Changes Path
1.2 +10 -5 src/sbin/gpt/boot.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"