Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2011 10:42:06 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/geom/part g_part_mbr.c src/sys/sys diskmbr.h
Message-ID:  <201106271042.p5RAgX5N001857@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ae          2011-06-27 10:42:06 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/part        g_part_mbr.c 
    sys/sys              diskmbr.h 
  Log:
  SVN rev 223587 on 2011-06-27 10:42:06Z by ae
  
  MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify
  disk drive. The boot0cfg(8) utility preserves these 4 bytes when is
  writing bootcode to keep a multiboot ability.
  Change gpart's bootcode method to keep DSN if it is not zero. Also
  do not allow writing bootcode with size not equal to MBRSIZE.
  
  PR:             kern/157819
  Tested by:      Eir Nym
  MFC after:      1 month
  
  Revision  Changes    Path
  1.26      +8 -6      src/sys/geom/part/g_part_mbr.c
  1.103     +1 -0      src/sys/sys/diskmbr.h



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