Date: Mon, 10 May 1999 00:08:56 +0900 (JST) From: sanewo@ba2.so-net.ne.jp To: FreeBSD-gnats-submit@freebsd.org Subject: bin/11609: vnconfig -v reports page numbers, not bytes. Message-ID: <199905091508.AAA07029@ba2.so-net.ne.jp>
index | next in thread | raw e-mail
>Number: 11609
>Category: bin
>Synopsis: vnconfig -v reports page numbers, not bytes.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 9 08:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Takanori Saneto
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
an individual
>Environment:
FreeBSD 4.0-CURRENT as of 1999-May-08
>Description:
With -v, vnconfig reports size of device. It reads ``bytes'', but it's actually
the number of pages.
>How-To-Repeat:
See the value specified by -S option and the value printed by -v.
>Fix:
Index: /usr/src/usr.sbin/vnconfig/vnconfig.c
===================================================================
RCS file: /sd0/FreeBSD/cvs/src/usr.sbin/vnconfig/vnconfig.c,v
retrieving revision 1.9
diff -u -u -r1.9 vnconfig.c
--- vnconfig.c 1999/03/14 09:20:01 1.9
+++ vnconfig.c 1999/05/09 15:03:46
@@ -294,7 +294,7 @@
} else {
if (verbose) {
printf(
- "%s: %d bytes on %s\n",
+ "%s: %d pages on %s\n",
dev, vnio.vn_size, file
);
}
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905091508.AAA07029>
