From ea327468b3907cc10187103eaf89e5776e913968 Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Mon, 9 Oct 2023 05:10:47 -0700 Subject: [PATCH] systemd-repart: add page (#10880) * systemd-repart: add page * Update pages/linux/systemd-repart.md Co-authored-by: Juri Dispan --------- Co-authored-by: Juri Dispan --- pages/linux/systemd-repart.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pages/linux/systemd-repart.md diff --git a/pages/linux/systemd-repart.md b/pages/linux/systemd-repart.md new file mode 100644 index 000000000..706ffe6d1 --- /dev/null +++ b/pages/linux/systemd-repart.md @@ -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: . + +- 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 /`