mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 19:55:37 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/growpart
Normal file
17
tldr/linux/growpart
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# growpart
|
||||
|
||||
> Extend a partition in a disk or disk image to fill available space.
|
||||
> More information: <https://github.com/canonical/cloud-utils>.
|
||||
|
||||
- Extend partition `n` from `sdX` to fill empty space until end of disk or beginning of next partition:
|
||||
|
||||
`growpart {{/dev/sdX}} {{n}}`
|
||||
|
||||
- Show what modifications would be made when growing partition `n` in a disk image:
|
||||
|
||||
`growpart --dry-run {{/path/to/disk.img}} {{n}}`
|
||||
Reference in New Issue
Block a user