1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 20:55:34 +02:00

btrfs-filesystem: add swapfile example (#16494)

Update btrfs-filesystem.md
This commit is contained in:
Managor 2025-05-16 20:24:49 +03:00 committed by GitHub
parent dd74ba5076
commit fdb1d04d37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}}`