aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handbook/diskless.sgml18
1 files changed, 13 insertions, 5 deletions
diff --git a/handbook/diskless.sgml b/handbook/diskless.sgml
index 92ef602085..49e8223aed 100644
--- a/handbook/diskless.sgml
+++ b/handbook/diskless.sgml
@@ -1,4 +1,4 @@
-<!-- $Id: diskless.sgml,v 1.6 1996-09-22 15:40:11 wosch Exp $ -->
+<!-- $Id: diskless.sgml,v 1.7 1996-10-21 23:54:46 joerg Exp $ -->
<!-- The FreeBSD Documentation Project -->
<sect><heading>Diskless operation<label id="diskless"></heading>
@@ -102,13 +102,21 @@ hostname myclient.mydomain
<item>If you are swapping over NFS (completely diskless
configuration) create a swap file for your client
- using touch. If your <tt>swapfs</tt> command has the
- argument <tt>/swapfs</tt> as in the example above,
- the swapfile for myclient will be called
+ using <tt>dd</tt>. If your <tt>swapfs</tt> command has the
+ arguments <tt>/swapfs</tt> and the size 20000 as in the
+ example above, the swapfile for myclient will be called
<tt>/swapfs/swap.X.X.X.X</tt> where <tt>X.X.X.X</tt>
is the client's IP addr, eg:
<tscreen><verb>
-# touch /swapfs/swap.192.1.2.4
+# dd if=/dev/zero of=/swapfs/swap.192.1.2.4 bs=1k count=20000
+</verb></tscreen>
+
+ Also, the client's swap space might contain sensitive
+ information once swapping starts, so make sure to
+ restrict read and write access to this file to prevent
+ unauthorized access:
+<tscreen><verb>
+# chmod 0600 /swapfs/swap.192.1.2.4
</verb></tscreen>
<item> Unpack the root filesystem in the directory the