Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

documentation/3323: diskless manpage fix

From: Olivier Cherrier <oc(at)karedas.cediti.be>
Date: Wed Jun 18 2003 - 17:17:46 EDT


>Number: 3323
>Category: documentation
>Synopsis: This patch corrects the swap file usage described in the manpage
>Confidential: no
        

	System      : OpenBSD 3.3
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
I sent this patch to jmc@ some time ago but he didn't commit it for some unknown reasons... If it is not correct, please, let me know. Otherwise, committing would help a lot people that follow this manpage step-by-step to set up a diskless box.

>How-To-Repeat:
        

>Fix:

  • diskless.8.orig Sat May 10 23:28:54 2003 +++ diskless.8 Sun May 11 01:22:09 2003 @@ -241,7 +241,7 @@ .Bd -literal -offset indent -compact # mkdir /export/myclient # cd /export/myclient -# dd if=/dev/zero of=swap bs=1m count=120 +# dd if=/dev/zero of=swapfile bs=1m count=120 .Ed This creates a 120 Megabyte swap file. .Pp @@ -290,7 +290,9 @@ Copy and customize at least the following files in .Pa /export/myclient/root : .Bd -literal -offset indent -compact -# cd /export/myclient/root/etc +# cd /export/myclient/root/ +# mkdir swap +# cd etc # cp fstab.nfs fstab # cp /etc/hosts hosts # echo myclient > myname @@ -309,6 +311,8 @@ .Bd -literal -offset indent -compact myserver:/export/myclient/root / nfs rw 0 0 myserver:/usr /usr nfs rw 0 0 +myserver:/export/myclient/swapfile none swap \\ + sw,nfsmntpt=/swap 0 0 .Ed .El .Sh FILES

>Release-Note:
Received on Wed Jun 18 17:40:38 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library