Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/cgdconfig note some other caveats and uses



details:   https://anonhg.NetBSD.org/src/rev/c8601f93d15b
branches:  trunk
changeset: 537718:c8601f93d15b
user:      dan <dan%NetBSD.org@localhost>
date:      Sat Oct 05 00:34:35 2002 +0000

description:
note some other caveats and uses

diffstat:

 sbin/cgdconfig/cgdconfig.8 |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r c4c09bf883b4 -r c8601f93d15b sbin/cgdconfig/cgdconfig.8
--- a/sbin/cgdconfig/cgdconfig.8        Sat Oct 05 00:13:27 2002 +0000
+++ b/sbin/cgdconfig/cgdconfig.8        Sat Oct 05 00:34:35 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgdconfig.8,v 1.2 2002/10/04 23:47:03 dan Exp $
+.\" $NetBSD: cgdconfig.8,v 1.3 2002/10/05 00:34:35 dan Exp $
 .\"
 .\" Copyright (c) 2002, The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -126,7 +126,8 @@
 and uses the resulting bits as the key.  It does not require a
 passphrase to be entered.  This method is typically used to present
 disk devices that do not need to survive a reboot, such as the swap
-partition.
+partition. It is also handy to facilitate overwriting the contents of
+a disk volume with meaningless data prior to use.
 .El
 .Ss /etc/cgd/cgd.conf
 The file
@@ -246,3 +247,7 @@
 uses
 .Xr getpass 3
 to read in the passphrase, it is limited to 128 characters.
+.Pp
+At present, there is no mechanism to validate that the key supplied
+matches that used to encrypt the disk.  An option to validate the
+checksum of a disklabel inside the cgd device may be added shortly.
\ No newline at end of file



Home | Main Index | Thread Index | Old Index