From: reed Date: Sat, 22 Mar 2008 14:39:57 +0000 (+0000) Subject: In example, change dd count size and also chmod so others can't read swap. X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/commitdiff_plain/da87ecb8460cacb415adcb6c28e03e598bb8f010 In example, change dd count size and also chmod so others can't read swap. --- 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