Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2007 20:06:12 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/gpt boot.c
Message-ID:  <200711012006.lA1K6COG002200@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711012006.lA1K6COG002200>