Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 04:34:46 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/gpt create.c migrate.c
Message-ID:  <200411120434.iAC4Yk80068090@repoman.freebsd.org>

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



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