cvs commit: src/sbin/gpt create.c migrate.c

Marcel Moolenaar marcel at FreeBSD.org
Thu Nov 11 20:34:46 PST 2004


marcel      2004-11-12 04:34:46 UTC

  FreeBSD src repository

  Modified files:
    sbin/gpt             create.c migrate.c 
  Log:
  Fix a braino: the partition size in the PMBR is in sectors, not bytes
  and 'mediasz' is in bytes. As it so happens, we define 'last' as the
  sector number of the last sector on the medium which also is the size
  of the PMBR partition. Therefore, use 'last' instead of 'mediasz'.
  
  Submitted by: Dan Markarian <markarian at apple dot com>
  
  Revision  Changes    Path
  1.9       +5 -5      src/sbin/gpt/create.c
  1.12      +3 -3      src/sbin/gpt/migrate.c


More information about the cvs-all mailing list