[Bug 254142] gpart silently truncates the GPT label

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 8 19:56:48 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254142

            Bug ID: 254142
           Summary: gpart silently truncates the GPT label
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: rashey at superbox.pl

If a specified label is too long for the GPT scheme, gpart silently truncates
it and does not return an error.

# freebsd-version
13.0-RC1
# gpart create -s GPT da1
da1 created
# gpart add -t freebsd-ufs -l
12345678901234567890123456789012345678901234567890 da1
da1p1 added
# echo $?
0
# gpart show -l da1
=>     40  8388528  da1  GPT  (4.0G)
       40  8388528    1  123456789012345678901234567890123456  (4.0G)

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


More information about the freebsd-bugs mailing list