Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2015 12:13:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204737] gpart displays "1" in case of empty gpt label
Message-ID:  <bug-204737-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204737

            Bug ID: 204737
           Summary: gpart displays "1" in case of empty gpt label
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: vsasjason@gmail.com

root@cs0:~# mdconfig -a -t swap -s 2g
md0
root@cs0:~# gpart create -s gpt md0
md0 created
root@cs0:~# gpart add -t freebsd-swap -s 1g md0
md0p1 added
root@cs0:~# gpart add -t freebsd-swap -l LABELtest md0
md0p2 added
root@cs0:~# gpart show md0
=>     34  4194237  md0  GPT  (2.0G)
       34  2097152    1  freebsd-swap  (1.0G)
  2097186  2097085    2  freebsd-swap  (1.0G)

root@cs0:~# gpart show -l md0
=>     34  4194237  md0  GPT  (2.0G)
       34  2097152    1  1  (1.0G)
  2097186  2097085    2  LABELtest  (1.0G)

root@cs0:~#

-- 
You are receiving this mail because:
You are the assignee for the bug.



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