Bug 157723 - [geom] GEOM should not process 'c' (raw) partitions for BSD scheme
Summary: [geom] GEOM should not process 'c' (raw) partitions for BSD scheme
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 08:20 UTC by Eir Nym
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eir Nym 2011-06-09 08:20:08 UTC
While creating GEOM structure for BSD scheme, the 'raw' partition created automatically. This partition contains everything include partition scheme data. This partition creates another one GEOM..

How-To-Repeat: #gpart create -t MBR ada0
#gpart add -t freebsd ada0
#bsdlabel -w ada0s1
#gpart add -t freebsd-ufs -b 16 -s 10 ada0s1
#gpart add -t freebsd-swap -b 26 ada0s1
#gpart show
--> here we should see about 4 BSD GEOMs for ada0s1
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-06-09 22:18:57 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-geom

Over to maintainer(s).
Comment 2 Eir Nym 2011-06-10 15:47:42 UTC
In discussion in FreeBSD-Current mail list, Andrey V. Elsukov said
following information.
> You have mixed old partitioning classes with GEOM_PART.
> You should remove from the kernel at least:
> options =C2=A0 =C2=A0 =C2=A0 =C2=A0 GEOM_BSD
> options =C2=A0 =C2=A0 =C2=A0 =C2=A0 GEOM_MBR
> options =C2=A0 =C2=A0 =C2=A0 =C2=A0 GEOM_PC98
> options =C2=A0 =C2=A0 =C2=A0 =C2=A0 GEOM_VOL

And after this duplicates had gone.

Please, make these and GEOM_PART_* options incompatible altogether and
document them to have no these strange behavior.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:18 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped