systemd-repart: add page (#10880)

* systemd-repart: add page

* Update pages/linux/systemd-repart.md

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
pull/23/head
Justin Garrison 2023-10-09 05:10:47 -07:00 committed by GitHub
parent b16aec9a84
commit ea327468b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# systemd-repart
> Automatically grow and add partitions.
> Grows and adds partitions based on the configuration files described in repart.d.
> Does not automatically resize file system on partition. See systemd-growfs to extend file system.
> More information: <https://www.freedesktop.org/software/systemd/man/systemd-repart.html>.
- Grow the root partition (/) to all available disk space:
`systemd-repart`
- View changes without applying:
`systemd-repart --dry-run=yes`
- Grow root partition size to 10 gigabytes:
`systemd-repart --size=10G --root /`