Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Updated parted args to correctly grow the partition to 100% #833

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion overlay/libexec/k3os/boot
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ setup_state_dirs()

do_grow_live()
{
parted $1 resizepart $2 yes 100%
echo -e "Yes" | parted $1 unit % resizepart $2 100% ---pretend-input-tty
partprobe $1
sleep 2
resize2fs $3
Expand Down