fallocate
This commit is contained in:
parent
425b516df9
commit
a657b6e131
|
@ -32,6 +32,7 @@ Par exemple pour ajouter un fichier de SWAP nommé `swapfile3` de 4G dans /home.
|
|||
~~~
|
||||
# cd /home
|
||||
# dd if=/dev/zero of=./swapfile3 bs=1M count=4096
|
||||
# OU # fallocate -l 4G ./swapfile3
|
||||
# chown root: swapfile3
|
||||
# chmod 0600 swapfile3
|
||||
# mkswap -LSWAP3 ./swapfile3
|
||||
|
|
Loading…
Reference in New Issue