progress
This commit is contained in:
parent
0e23bcb09d
commit
df0928f2ff
4
main.sh
4
main.sh
|
@ -102,7 +102,9 @@ do_partition() {
|
|||
size=2048
|
||||
parted -a optimal $TARGET_PHY_WWN unit mib -s -- mkpart primary ext4 $start $(( start + size ))
|
||||
start=$(( start + size ))
|
||||
mkfs.btrfs -f ${TARGET_PHY_WWN}-part1
|
||||
sync
|
||||
sleep 3
|
||||
mkfs.btrfs -f "${TARGET_PHY_WWN}-part1"
|
||||
TARGET_PART="2"
|
||||
fi
|
||||
parted -a optimal $TARGET_PHY_WWN unit mib -s -- mkpart primary ext4 $start -1s
|
||||
|
|
Loading…
Reference in New Issue
Block a user