update vnconfig -> mdconfig

Submitted by: W.A.W. van Houten
This commit is contained in:
Alfred Perlstein 2005-06-25 12:24:59 +00:00
parent 7c9038b48c
commit ffe44a7b7a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24952

View file

@ -161,8 +161,8 @@
file and copy its contents to
<filename>/usr/tftpboot</filename>:</para>
<screen>&prompt.root; <userinput>vnconfig vn0 kern.flp</userinput> # associate a vndevice with the file
&prompt.root; <userinput>mount /dev/vn0 /mnt</userinput> # mount it
<screen>&prompt.root; <userinput>mdconfig -a -t vnode -f kern.flp -u 0</userinput> # (vnconfig vn0 kern.flp) associate a vndevice with the file
&prompt.root; <userinput>mount /dev/md0 /mnt</userinput> # (mount /dev/vn0 /mnt) mount it
&prompt.root; <userinput>cp -R /mnt /usr/tftpboot</userinput> # copy the contents to /usr/tftpboot
&prompt.root; <userinput>umount /mnt</userinput> # unmount it
&prompt.root; <userinput>vnconfig -u vn0</userinput> # disassociate the vndevice from the file</screen>