Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2010 19:31:08 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sys gpt.h
Message-ID:  <201009241931.o8OJVNhB074770@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2010-09-24 19:31:08 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              gpt.h 
  Log:
  SVN rev 213133 on 2010-09-24 19:31:08Z by pjd
  
  Add three GPT attributes:
  
  GPT_ENT_ATTR_BOOTME - this is bootable partition
  
  GPT_ENT_ATTR_BOOTONCE - try to boot only once from this partition
  
  GPT_ENT_ATTR_BOOTFAILED - set this flag if we cannot boot from partition
          containing GPT_ENT_ATTR_BOOTONCE flag; note that if we cannot
          boot from partition that contains only GPT_ENT_ATTR_BOOTME flag,
          the GPT_ENT_ATTR_BOOTFAILED flag won't be set
  
  According to wikipedia Microsoft TechNet says that attributes are divided into
  two halves: the lower 4 bytes representing partition independent attributes,
  and the upper 4 bytes are partition type dependent. Microsoft is already using
  bits 60 (read-only), 62 (hidden) and 63 (do not automount) and I'd like to not
  collide with those, so we are using bit 59 (bootme), 58 (bootonce) and 57
  (bootfailed).
  
  Reviewed by:    arch (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.15      +3 -0      src/sys/sys/gpt.h



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