cvs commit: src/sbin/gpt boot.c

John Baldwin jhb at FreeBSD.org
Thu Nov 1 13:06:13 PDT 2007


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


More information about the cvs-src mailing list