jhb         2007-11-01 20:51:04 UTC

  FreeBSD src repository

  Modified files:
    sbin/gpt             gpt.c 
  Log:
  Don't look for GPT primary and secondary tables on a disk unless we have
  a valid PMBR.  Without this fix, if label a disk with a GPT, then relabel
  it with an MBR the GPT tables are still present.  If you then try to create
  a GPT with 'gpt create', gpt(8) will fail to open the device because the
  partitions in the stale GPT overlap with the slices in the MBR.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.18      +10 -4     src/sbin/gpt/gpt.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to