mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 05:51:29 +00:00
Update cheatsheets
This commit is contained in:
23
linux/systemd-repart
Normal file
23
linux/systemd-repart
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 /`
|
||||
Reference in New Issue
Block a user