From: Nikos Skalkotos Date: Wed, 29 Jan 2014 13:28:49 +0000 (+0200) Subject: Run partprobe after diskpart.py X-Git-Tag: 0.13~1^2~3^2~9 X-Git-Url: https://code.grnet.gr/git/snf-image/commitdiff_plain/48af24035c5269c44b81aeeada899140760a05a6 Run partprobe after diskpart.py After disklabel.py enlarges the partition the kernel must be informed about this --- diff --git a/snf-image-helper/tasks/10FixPartitionTable.in b/snf-image-helper/tasks/10FixPartitionTable.in index 0e489a3..a0388d2 100644 --- a/snf-image-helper/tasks/10FixPartitionTable.in +++ b/snf-image-helper/tasks/10FixPartitionTable.in @@ -37,6 +37,8 @@ fi if [ "$SNF_IMAGE_PROPERTY_OSFAMILY" = openbsd ]; then @scriptsdir@/disklabel.py -d "$(blockdev --getsz "$SNF_IMAGE_DEV")" -p "$SNF_IMAGE_DEV" + # Inform the kernel about the changes + partprobe "$SNF_IMAGE_DEV" exit 0 fi