[Bug 204737] gpart displays "1" in case of empty gpt label
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 22 12:13:35 UTC 2015
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 at FreeBSD.org
Reporter: vsasjason at gmail.com
root at cs0:~# mdconfig -a -t swap -s 2g
md0
root at cs0:~# gpart create -s gpt md0
md0 created
root at cs0:~# gpart add -t freebsd-swap -s 1g md0
md0p1 added
root at cs0:~# gpart add -t freebsd-swap -l LABELtest md0
md0p2 added
root at 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 at cs0:~# gpart show -l md0
=> 34 4194237 md0 GPT (2.0G)
34 2097152 1 1 (1.0G)
2097186 2097085 2 LABELtest (1.0G)
root at cs0:~#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list