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

Marcel Moolenaar marcel at FreeBSD.org
Wed Nov 17 04:27:18 GMT 2004


marcel      2004-11-17 04:27:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sbin/gpt             create.c migrate.c 
  Log:
  MFC create.c:1.9, migrate.c:1.12:
  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'.
  
  Revision  Changes    Path
  1.6.2.2   +5 -5      src/sbin/gpt/create.c
  1.7.2.4   +3 -3      src/sbin/gpt/migrate.c


More information about the cvs-src mailing list