Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partition: wait for 1s between mkpart and mklabel
Sometimes it will fail to mkpart just after mklabel, it says that: "Partition(s) 1 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes." Wait a little time can fix this problem. Signed-off-by: Hu Shuai <[email protected]>
- Loading branch information