X-Git-Url: https://git.deb.at/?p=debienna.git;a=blobdiff_plain;f=UseFileAsSwap%2Findex.mdwn;h=160093b42200b4cf36092c337b600583a5b6686e;hp=12f8710115981c7b2c743a419b6471d9179a7553;hb=b6aaecabf31aa0d4181c6de584fbe83c636ebc7b;hpb=bb58b440ee60e34e1c961060195598787087c131 diff --git a/UseFileAsSwap/index.mdwn b/UseFileAsSwap/index.mdwn index 12f8710..160093b 100644 --- a/UseFileAsSwap/index.mdwn +++ b/UseFileAsSwap/index.mdwn @@ -1,15 +1,17 @@ -Use a File as SWAP Space - -{{{ -# Create a 10M File -dd if=/dev/urandom of=./xxx bs=1M count=10 - -# Make a swap on this file -/sbin/mkswap ./xxx - -# use this swap -sudo swapon xxx - -# show swap -cat /proc/swaps -}}} \ No newline at end of file + +Use a File as SWAP Space + + +[[!format txt """ +# Create a 10M File +dd if=/dev/urandom of=./xxx bs=1M count=10 + +# Make a swap on this file +/sbin/mkswap ./xxx + +# use this swap +sudo swapon xxx + +# show swap +cat /proc/swaps +"""]] \ No newline at end of file