mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 12:35:34 +02:00
btrfs-filesystem: add swapfile example (#16494)
Update btrfs-filesystem.md
This commit is contained in:
parent
dd74ba5076
commit
fdb1d04d37
1 changed files with 4 additions and 0 deletions
|
@ -26,3 +26,7 @@
|
||||||
- Summarize disk usage for the files in a directory recursively:
|
- Summarize disk usage for the files in a directory recursively:
|
||||||
|
|
||||||
`sudo btrfs filesystem du {{[-s|--summarize]}} {{path/to/directory}}`
|
`sudo btrfs filesystem du {{[-s|--summarize]}} {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Create a swap file:
|
||||||
|
|
||||||
|
`sudo btrfs filesystem mkswapfile --size {{8g}} --uuid {{clear|random|time|UUID_value}} {{path/to/swapfile}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue