mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 11:22:09 +02:00

* 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>
18 lines
562 B
Markdown
18 lines
562 B
Markdown
# 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 /`
|