Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 16:49:44 -0400
From:      David Cross <dcrosstech@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Request for comments, new geom part type alias: freebsd-geom
Message-ID:  <CAM9edePaxdNazqBNC%2B=iKjApr1CrDr%2BZUn1OEj65vr6Z17btRg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'd like to propose that we create a GPT partition for geom labeled
partitions (gmirror, gstripe, geli, etc.. anything that can be 'tasted' and
automatically determined.) called 'freebsd-geom'.

There are numerous cases where you shouldn't have a raw geom on a disk (for
example, imagine a raid 10 of a filesystem with VMs on it..on a raw disk
its possible that the lead block happens to line up with a VM disk image or
anything else a BIOS may determine is bootable).

So the question becomes which part id to use; IF its a mirror of a swap of
UFS it seems perfectly reasonable to use freebsd-swap or freebsd-ufs (if a
bit dangerous).  If its a mirror or a geli then you can again be in the
situation where the boot blocks (or something else), in certain
circumstances mistakes these for raw filesystems with similarly calamitous
results.

Given these, it seems a 'freebsd-geom' (or similar) seems entirely
appropriate; we can mark these for what they really are, and eliminate
these cases where the system misinterprets intentions based on ambiguous
data.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM9edePaxdNazqBNC%2B=iKjApr1CrDr%2BZUn1OEj65vr6Z17btRg>