Date: Thu, 13 Sep 2001 14:14:18 -0400 (EDT) From: <khera@kciLink.com> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/30556: first few vnconfig man page examples are quite broken Message-ID: <200109131814.f8DIEIK38047@onceler.kciLink.com>
index | next in thread | raw e-mail
>Number: 30556
>Category: docs
>Synopsis: vnconfig man page incorrect; functionality seems to be missing too
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 13 11:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Vivek Khera
>Release: FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD onceler.kciLink.com 4.3-STABLE FreeBSD 4.3-STABLE #13: Thu Jul 5 16:49:55 EDT 2001 khera@onceler.kciLink.com:/u/onceler1/usr/src/sys/compile/ONCELER i386
>Description:
The vnconfig man page gives these examples:
EXAMPLES
vnconfig vn0c /tmp/diskimage
Configures the vnode disk vn0c.
vnconfig -e vn0c /var/swapfile swap
Configures vn0c and enables swapping on it.
Trying the first one gives an error. Apparently you can only vnconfig
the base device, vn0, not vn0c. This leads us to the problem that the
feature mount=/path is useless, since you cannot do
vnconfig vn0 /tmp/diskimage mount=/mnt
nor
vnconfig -e vn0c /tmp/diskimage mount=/mnt
since the former is attempting to mount /dev/vn0 and the latter attempts to
vnconfig vn0c, both of which are not allowed.
>How-To-Repeat:
see above
>Fix:
change the docs, and remove the mount=XX options since they are useless, it
seems.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109131814.f8DIEIK38047>
