From 973a6d0fac69b4accefdc5d8a20095ccf9c383f0 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 22 Dec 1996 01:46:45 +0000 Subject: [PATCH] document that "vnd0" works --- usr.sbin/vnconfig/vnconfig.8 | 19 +++++++++---------- usr.sbin/vnconfig/vnconfig.c | 4 ++-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/usr.sbin/vnconfig/vnconfig.8 b/usr.sbin/vnconfig/vnconfig.8 index 7f8e375acec..7e701fbf24b 100644 --- a/usr.sbin/vnconfig/vnconfig.8 +++ b/usr.sbin/vnconfig/vnconfig.8 @@ -45,17 +45,17 @@ .Sh SYNOPSIS .Nm vnconfig Fl c .Op Fl v -.Ar special_file +.Ar rawdev .Ar regular_file .Nm vnconfig Fl u .Op Fl v -.Ar special_file +.Ar rawdev .Sh DESCRIPTION The .Nm vnconfig command configures vnode pseudo disk devices. It will associate the special file -.Ar special_file +.Ar rawdev with the regular file .Ar regular_file allowing the latter to be accessed as though it were a disk. @@ -67,7 +67,7 @@ Options indicate an action to be performed: .It Fl c Configures the device. If successful, references to -.Ar special_file +.Ar rawdev will access the contents of .Ar regular_file . .It Fl u @@ -86,16 +86,15 @@ is assumed. .El .Sh EXAMPLES .Pp -.Dl vnconfig /dev/vnd0c /tmp/diskimage +.Dl vnconfig vnd0 /tmp/diskimage .Pp Configures the vnode disk -.Pa vnd0c . +.Pa vnd0 +(ie. all of it's partitions become useable). .Pp -.Dl vnconfig -u /dev/vnd0c +.Dl vnconfig -u vnd0 .Pp -Unconfigures the -.Pa vnd0c -device. +Unconfigures the same device. .Sh BUGS This command should really be named .Nm vndconfig . diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index 00fe960f22f..570b8c0af77 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -148,7 +148,7 @@ usage() { (void)fprintf(stderr, "%s%s", - "usage: vnconfig -c [-v] special-file regular-file\n", - " vnconfig -u [-v] special-file\n"); + "usage: vnconfig -c [-v] rawdev regular-file\n", + " vnconfig -u [-v] rawdev\n"); exit(1); } -- 2.20.1