summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed <reed@NetBSD.org>2008-03-22 14:39:57 +0000
committerreed <reed@NetBSD.org>2008-03-22 14:39:57 +0000
commitda87ecb8460cacb415adcb6c28e03e598bb8f010 (patch)
tree3da14aa72e81d4d82495c165d58903a358e36f36
parent1a72f9140767ce0c716624bfb01aa03158fcd5ec (diff)
downloadbsdgames-darwin-da87ecb8460cacb415adcb6c28e03e598bb8f010.tar.gz
bsdgames-darwin-da87ecb8460cacb415adcb6c28e03e598bb8f010.tar.zst
bsdgames-darwin-da87ecb8460cacb415adcb6c28e03e598bb8f010.zip
In example, change dd count size and also chmod so others can't read swap.
-rw-r--r--fortune/datfiles/netbsd-tips3
1 files changed, 2 insertions, 1 deletions
diff --git a/fortune/datfiles/netbsd-tips b/fortune/datfiles/netbsd-tips
index 9e58dde8..0c69be03 100644
--- a/fortune/datfiles/netbsd-tips
+++ b/fortune/datfiles/netbsd-tips
@@ -44,7 +44,8 @@ And then run:
The following shows an example of temporarily adding 10MB more swap
space for virtual memory:
- dd if=/dev/zero of=/root/swapfile bs=1024 count=10000
+ dd if=/dev/zero of=/root/swapfile bs=1024 count=10240
+ chmod go= /root/swapfile
swapctl -a /root/swapfile
%
If your console ever gets broken, you can try resetting it to its