svn commit: r266972 - head/sbin/geom/class/label
Ivan Voras
ivoras at FreeBSD.org
Mon Jun 2 15:05:26 UTC 2014
Author: ivoras
Date: Mon Jun 2 15:05:25 2014
New Revision: 266972
URL: http://svnweb.freebsd.org/changeset/base/266972
Log:
Document the diskid automatic label class.
While there, also document the glabel "native" labels and explain why
there are additional nodes created for nested GEOM classes.
Reminded by: jmg
Modified:
head/sbin/geom/class/label/glabel.8
Modified: head/sbin/geom/class/label/glabel.8
==============================================================================
--- head/sbin/geom/class/label/glabel.8 Mon Jun 2 13:48:57 2014 (r266971)
+++ head/sbin/geom/class/label/glabel.8 Mon Jun 2 15:05:25 2014 (r266972)
@@ -130,8 +130,26 @@ GPT UUIDs (directory
.Pa /dev/gptid/ ) .
.El
.Pp
-Generic labels are created in the directory
-.Pa /dev/label/ .
+Generic disk ID strings are exported as labels in the format
+.Pa /dev/diskid/GEOM_CLASS-ident
+e.g.
+.Pa /dev/diskid/DISK-6QG3Z026 .
+.Pp
+Generic labels created and managed solely by
+.Xr glabel 8
+are created in the
+.Pa /dev/label/
+directory.
+.Pp
+Note that for all label types, nested GEOM classes will cause additional
+device nodes to be created, with context-specific data appended to their
+names. E.g. for every node like
+.Pa /dev/label/bigdisk
+there will be additional entries for any partitions which the device
+contains, like
+.Pa /dev/label/bigdiskp1
+and
+.Pa /dev/label/bigdiskp1a .
.Pp
The first argument to
.Nm
More information about the svn-src-all
mailing list