From c009fcfab23b6658aac2eff95cda43e93d09993a Mon Sep 17 00:00:00 2001 From: Thomas Nikolajsen Date: Tue, 2 Sep 2008 22:41:19 +0000 Subject: [PATCH] Change vkernel.7: - kernel (and modules) moved to boot directory - note on adding partition on vn0s0 made clearer --- share/man/man7/vkernel.7 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/man/man7/vkernel.7 b/share/man/man7/vkernel.7 index a0541417bf..a634f14658 100644 --- a/share/man/man7/vkernel.7 +++ b/share/man/man7/vkernel.7 @@ -29,9 +29,9 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $DragonFly: src/share/man/man7/vkernel.7,v 1.42 2008/07/16 01:25:23 thomas Exp $ +.\" $DragonFly: src/share/man/man7/vkernel.7,v 1.43 2008/09/02 22:41:19 thomas Exp $ .\" -.Dd May 6, 2008 +.Dd September 3, 2008 .Dt VKERNEL 7 .Os .Sh NAME @@ -46,7 +46,7 @@ .Cd "device vkd" .Cd "device vke" .Pp -.Pa /var/vkernel/kernel +.Pa /var/vkernel/boot/kernel .Op Fl sUv .Op Fl c Ar file .Op Fl e Ar name Ns = Ns Li value : Ns Ar name Ns = Ns Li value : Ns ... @@ -295,7 +295,7 @@ created in the partition with a link to it in .Pa /var : .Bd -literal -mkdir /home/var.vkernel +mkdir -p /home/var.vkernel/boot ln -s /home/var.vkernel /var/vkernel .Ed .Pp @@ -305,7 +305,7 @@ created and populated (assuming world has been built previously): dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=2048 vnconfig -c -s labels vn0 /var/vkernel/rootimg.01 disklabel -r -w vn0s0 auto -disklabel -e vn0s0 # edit the label to create a vn0s0a partition +disklabel -e vn0s0 # add `a' partition with fstype `4.2BSD' newfs /dev/vn0s0a mount /dev/vn0s0a /mnt cd /usr/src @@ -370,7 +370,7 @@ ifconfig bridge0 up Finally, the virtual kernel can be run: .Bd -literal cd /var/vkernel -\&./kernel -m 64m -r rootimg.01 -I auto:bridge0 +\&./boot/kernel -m 64m -r rootimg.01 -I auto:bridge0 .Ed .Pp You can issue the -- 2.11.4.GIT