aboutsummaryrefslogtreecommitdiff
path: root/lib/geom
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2019-12-13 09:28:44 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2019-12-13 09:28:44 +0000
commit2006d590d6918144d572b1d3ef2cf07c909d0046 (patch)
tree750fcadb73281e85103914c45368e7aa8177a32c /lib/geom
parent0c48989582ba9e5af82f28bddc0d6bafc7b52263 (diff)
downloadsrc-2006d590d6918144d572b1d3ef2cf07c909d0046.tar.gz
src-2006d590d6918144d572b1d3ef2cf07c909d0046.zip
Add kern.geom.part.separator tunable. This makes it possible
to specify an optional separator to insert before partition name; eg if it's set to "c/", you'll get "ada0c/s1" instead of "ada0s1". (It cannot be set to just “/“, since ada0 is a device node, not a directory.) Reviewed by: imp MFC after: 2 weeks Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D22193
Notes
Notes: svn path=/head/; revision=355705
Diffstat (limited to 'lib/geom')
-rw-r--r--lib/geom/part/gpart.810
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/geom/part/gpart.8 b/lib/geom/part/gpart.8
index faa3171f6b2e..fbfe099eb90e 100644
--- a/lib/geom/part/gpart.8
+++ b/lib/geom/part/gpart.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 3, 2019
+.Dd December 13, 2019
.Dt GPART 8
.Os
.Sh NAME
@@ -1260,6 +1260,14 @@ If this variable is set to a non-zero value, the module will automatically
recalculate the user-specified offset and size for alignment with the CHS
geometry.
Otherwise the values will be left unchanged.
+.It Va kern.geom.part.separator : No ""
+Specify an optional separator that will be inserted between the GEOM name
+and partition name.
+This variable is a
+.Xr loader 8
+tunable.
+Note that setting this variable may break software which assumes a particular
+naming scheme.
.El
.Sh EXIT STATUS
Exit status is 0 on success, and 1 if the command fails.