diff options
author | pjd <pjd@FreeBSD.org> | 2011-10-25 08:03:51 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-10-25 08:03:51 +0000 |
commit | 0d4638bd6b4339682101cbabef7d706be660fb70 (patch) | |
tree | 25e3ced57c3b0483742460394908c5c95c67d936 /sbin/geom/class/eli/geli.8 | |
parent | cf29098f00348555b42a4f4715da05d8abac8582 (diff) | |
download | FreeBSD-src-0d4638bd6b4339682101cbabef7d706be660fb70.zip FreeBSD-src-0d4638bd6b4339682101cbabef7d706be660fb70.tar.gz |
Add 'geli version' subcommand, which will print GELI metadata version of each
given GEOM provider or if not providers are given it will print versions
supported by userland geli(8) utility and by ELI GEOM class.
MFC after: 3 days
Diffstat (limited to 'sbin/geom/class/eli/geli.8')
-rw-r--r-- | sbin/geom/class/eli/geli.8 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sbin/geom/class/eli/geli.8 b/sbin/geom/class/eli/geli.8 index 6c46680..59361ec 100644 --- a/sbin/geom/class/eli/geli.8 +++ b/sbin/geom/class/eli/geli.8 @@ -134,6 +134,9 @@ utility: .Fl s Ar oldsize .Ar prov .Nm +.Cm version +.Op Ar prov ... +.Nm .Cm clear .Op Fl v .Ar prov ... @@ -597,6 +600,18 @@ Additional options include: .It Fl s Ar oldsize The size of the provider before it was resized. .El +.It Cm version +If no arguments are given, the +.Cm version +subcommand will print the version of +.Nm +userland utility as well as the version of the +.Nm ELI +GEOM class. +.Pp +If GEOM providers are specified, the +.Cm version +subcommand will print metadata version used by each of them. .It Cm clear Clear metadata from the given providers. .It Cm dump |