run partprobe after deleting partition table

This commit is contained in:
Jan Schneider 2018-03-31 10:34:00 +02:00
parent 34c2beb873
commit 7ab6dfb121
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ proc ::rmupdate::get_partion_start_end_and_size {device partition} {
proc ::rmupdate::delete_partition_table {device} {
exec /bin/dd if=/dev/zero of=$device bs=512 count=1 2>/dev/null
catch { exec /usr/sbin/partprobe }
}
proc ::rmupdate::is_system_upgradeable {} {