Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2021 19:56:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254142] gpart silently truncates the GPT label
Message-ID:  <bug-254142-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: rashey@superbox.pl

If a specified label is too long for the GPT scheme, gpart silently truncat=
es
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
=3D>     40  8388528  da1  GPT  (4.0G)
       40  8388528    1  123456789012345678901234567890123456  (4.0G)

--=20
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-254142-227>