Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:06:17 -0000
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345861 - head/lib/geom/eli
Message-ID:  <201904032350.x33NoqJi072046@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Wed Apr  3 23:50:52 2019
New Revision: 345861
URL: https://svnweb.freebsd.org/changeset/base/345861

Log:
  - Add missing -T (notrim) option to the label subcommand.
  - Add missing -T option in the onetime subcommand comment.
  
  Obtained from:	Fudo Security

Modified:
  head/lib/geom/eli/geom_eli.c

Modified: head/lib/geom/eli/geom_eli.c
==============================================================================
--- head/lib/geom/eli/geom_eli.c	Wed Apr  3 22:30:20 2019	(r345860)
+++ head/lib/geom/eli/geom_eli.c	Wed Apr  3 23:50:52 2019	(r345861)
@@ -96,7 +96,7 @@ static int eli_backup_create(struct gctl_req *req, con
  * attach [-Cdprv] [-n keyno] [-j passfile] [-k keyfile] prov ...
  * detach [-fl] prov ...
  * stop - alias for 'detach'
- * onetime [-d] [-a aalgo] [-e ealgo] [-l keylen] prov
+ * onetime [-dT] [-a aalgo] [-e ealgo] [-l keylen] prov
  * configure [-bBgGtT] prov ...
  * setkey [-pPv] [-n keyno] [-j passfile] [-J newpassfile] [-k keyfile] [-K newkeyfile] prov
  * delkey [-afv] [-n keyno] prov
@@ -145,6 +145,7 @@ struct g_command class_commands[] = {
 		{ 'l', "keylen", "0", G_TYPE_NUMBER },
 		{ 'P', "nonewpassphrase", NULL, G_TYPE_BOOL },
 		{ 's', "sectorsize", "0", G_TYPE_NUMBER },
+		{ 'T', "notrim", NULL, G_TYPE_BOOL },
 		{ 'V', "mdversion", "-1", G_TYPE_NUMBER },
 		G_OPT_SENTINEL
 	    },





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904032350.x33NoqJi072046>