From da87ecb8460cacb415adcb6c28e03e598bb8f010 Mon Sep 17 00:00:00 2001 From: reed Date: Sat, 22 Mar 2008 14:39:57 +0000 Subject: In example, change dd count size and also chmod so others can't read swap. --- fortune/datfiles/netbsd-tips | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-56-ge451