subvolume for swapfile
This commit is contained in:
parent
83c1403e91
commit
5920fb3b2e
1 changed files with 2 additions and 2 deletions
|
@ -267,10 +267,10 @@ LC_TIME=pl_PL.UTF-8
|
|||
|
||||
#### Now create empty (with 0 size) swap file:
|
||||
|
||||
#### Create separate folder for swapfile. This folder is needed to let you make snapshot of `/`, which would not be possible with any file in it with CoW disabled!
|
||||
#### Create separate subvolume for swapfile. This subvolume is needed to let you make snapshot of `/`, which would not be possible with any file in it with CoW disabled!
|
||||
|
||||
```
|
||||
mkdir /swap
|
||||
btrfs su create /swap
|
||||
|
||||
chattr +C /swap
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue