Source-Changes-HG archive

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

[src/trunk]: src/sbin/gpt Clarify the 'dkctl addwedge' usage message after cr...



details:   https://anonhg.NetBSD.org/src/rev/6eb9f6941707
branches:  trunk
changeset: 760524:6eb9f6941707
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Jan 06 17:51:28 2011 +0000

description:
Clarify the 'dkctl addwedge' usage message after creating a GPT
partition.

diffstat:

 sbin/gpt/add.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 9f9d81dcbb8b -r 6eb9f6941707 sbin/gpt/add.c
--- a/sbin/gpt/add.c    Thu Jan 06 17:42:10 2011 +0000
+++ b/sbin/gpt/add.c    Thu Jan 06 17:51:28 2011 +0000
@@ -29,7 +29,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/add.c,v 1.14 2006/06/22 22:05:28 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: add.c,v 1.9 2011/01/06 16:30:40 jakllsch Exp $");
+__RCSID("$NetBSD: add.c,v 1.10 2011/01/06 17:51:28 riz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -163,8 +163,8 @@
 #endif
 #ifdef __NetBSD__
        printf("Partition added, use:\n");
-       printf("\tdkctl %s addwedge dk<N> %" PRIu64 " %" PRIu64 " <type>\n",
-           device_arg, map->map_start, map->map_size);
+       printf("\tdkctl %s addwedge <wedgename> %" PRIu64 " %" PRIu64
+           " <type>\n", device_arg, map->map_start, map->map_size);
        printf("to create a wedge for it\n");
 #endif
 }



Home | Main Index | Thread Index | Old Index