progress
This commit is contained in:
parent
df0928f2ff
commit
0f342d0be9
4
main.sh
4
main.sh
|
@ -102,13 +102,13 @@ do_partition() {
|
|||
size=2048
|
||||
parted -a optimal $TARGET_PHY_WWN unit mib -s -- mkpart primary ext4 $start $(( start + size ))
|
||||
start=$(( start + size ))
|
||||
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
|
||||
fi
|
||||
sync
|
||||
sleep 3
|
||||
|
||||
TARGETNAME=$(basename ${TARGET_PHY_WWN}-part${TARGET_PART})
|
||||
TARGETNAME_UNDERSCORE=${TARGETNAME//-/_}
|
||||
|
|
Loading…
Reference in New Issue
Block a user