projects
/
debienna.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
adding kalendar entry for 05.06.2014
[debienna.git]
/
UseFileAsSwap
/
index.mdwn
1
2
Use a File as SWAP Space
3
4
5
[[!format txt """
6
# Create a 10M File
7
dd if=/dev/urandom of=./xxx bs=1M count=10
8
9
# Make a swap on this file
10
/sbin/mkswap ./xxx
11
12
# use this swap
13
sudo swapon xxx
14
15
# show swap
16
cat /proc/swaps
17
"""]]