| Summary: | vnconfig man page incorrect; functionality seems to be missing too | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Vivek Khera <khera> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed The examples in the manual work perfectly. /tmp/diskimage is assumed to be a diskimage, and therefore should exist before attempting to follow the examples. |
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. Fix: change the docs, and remove the mount=XX options since they are useless, it seems. How-To-Repeat: see above