Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Oct 2019 11:05:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241004] gpart(8) works with bsdlabel(8) partitions on MBR partition but not on RAW device
Message-ID:  <bug-241004-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 241004
           Summary: gpart(8) works with bsdlabel(8) partitions on MBR
                    partition but not on RAW device
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: vermaden@interia.pl

The gpart show -p command will show this:

=3D>     63  1048576    md0  MBR  (1.0G)
       63  1048576  md0s1  freebsd  (512M)

=3D>      0  1048576   md0s1  BSD  (512M)
        0       16          - free -  (8.0K)
       16   204800  md0s1a  freebsd-ufs  (100M)
   204816    65536  md0s1b  freebsd-swap  (32M)
   270352   131072  md0s1e  freebsd-ufs  (64M)
   401424   647152  md0s1f  freebsd-ufs  (316M)

So when BSD layout is on MRB partition (md0s1a) then its correctly matched =
as
'freebsd-ufs' but if its without MBR partition then instead 'freebsd-ufs' t=
he
'!0' is displayed like shown below.


=3D>      0  2097152   md1  BSD  (1.0G)
        0       16        - free -  (8.0K)
       16  2097136  md1a  !0  (1.0G)

Regards.

--=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-241004-227>