Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/cgdconfig cgdconfig.8: use gpt in examples, it's more v...
details: https://anonhg.NetBSD.org/src/rev/9bd66b65fde7
branches: trunk
changeset: 983043:9bd66b65fde7
user: nia <nia%NetBSD.org@localhost>
date: Fri Apr 30 21:07:34 2021 +0000
description:
cgdconfig.8: use gpt in examples, it's more versatile for this use case
diffstat:
sbin/cgdconfig/cgdconfig.8 | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r ce2d7e368c3f -r 9bd66b65fde7 sbin/cgdconfig/cgdconfig.8
--- a/sbin/cgdconfig/cgdconfig.8 Fri Apr 30 20:07:22 2021 +0000
+++ b/sbin/cgdconfig/cgdconfig.8 Fri Apr 30 21:07:34 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgdconfig.8,v 1.49 2021/04/18 19:56:09 maya Exp $
+.\" $NetBSD: cgdconfig.8,v 1.50 2021/04/30 21:07:34 nia Exp $
.\"
.\" Copyright (c) 2002, The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -387,14 +387,14 @@
Here is the
sequence of commands that is recommended:
.Bd -literal
- # cgdconfig -g -o /etc/cgd/wd0e -V disklabel adiantum
- # cgdconfig -V re-enter cgd0 /dev/wd0e
- /dev/wd0e's passphrase:
+ # cgdconfig -g -o /etc/cgd/dk3 -V gpt adiantum
+ # cgdconfig -V re-enter cgd0 /dev/dk3
+ /dev/dk3's passphrase:
re-enter device's passphrase:
- # disklabel -e -I cgd0
+ # gpt create cgd0
# cgdconfig -u cgd0
- # cgdconfig cgd0 /dev/wd0e
- /dev/wd0e's passphrase:
+ # cgdconfig cgd0 /dev/dk3
+ /dev/dk3's passphrase:
.Ed
.Pp
To scrub data from a disk before setting up a cgd:
Home |
Main Index |
Thread Index |
Old Index