diff options
author | ivoras <ivoras@FreeBSD.org> | 2014-06-02 15:05:25 +0000 |
---|---|---|
committer | ivoras <ivoras@FreeBSD.org> | 2014-06-02 15:05:25 +0000 |
commit | da8de155a096d247aff52acb7d8e06cbd3b87b3f (patch) | |
tree | e3b7a406505f44092dd347bee8cb756693e91192 /sbin | |
parent | 1a11db3c8dca40b3c1a7c96e7b370c6025ba15c2 (diff) | |
download | FreeBSD-src-da8de155a096d247aff52acb7d8e06cbd3b87b3f.zip FreeBSD-src-da8de155a096d247aff52acb7d8e06cbd3b87b3f.tar.gz |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/geom/class/label/glabel.8 | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/sbin/geom/class/label/glabel.8 b/sbin/geom/class/label/glabel.8 index c1c7bc4..282f85c 100644 --- a/sbin/geom/class/label/glabel.8 +++ b/sbin/geom/class/label/glabel.8 @@ -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 |