Fix ntfsresize command
This commit is contained in:
parent
e60af8d0f1
commit
ae86ae676c
@ -5,7 +5,7 @@
|
|||||||
# Some ideas and code reworked from other resources
|
# Some ideas and code reworked from other resources
|
||||||
# AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due
|
# AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
VER="2.0.32" # installer version
|
VER="2.0.33" # installer version
|
||||||
DIST="ArchLabs" # linux distributor
|
DIST="ArchLabs" # linux distributor
|
||||||
MNT="/mnt" # install mountpoint
|
MNT="/mnt" # install mountpoint
|
||||||
ANS="/tmp/ans" # dialog answer file
|
ANS="/tmp/ans" # dialog answer file
|
||||||
@ -951,8 +951,8 @@ part_resize()
|
|||||||
errshow "resize2fs -f $part ${size}K" || return 1
|
errshow "resize2fs -f $part ${size}K" || return 1
|
||||||
;;
|
;;
|
||||||
ntfs)
|
ntfs)
|
||||||
ntfsresize -f -s ${size}K "$part" 2>$ERR
|
ntfsresize -fc -s ${size}k "$part" 2>$ERR
|
||||||
errshow "ntfsresize -f -s ${size}K $part" || return 1
|
errshow "ntfsresize -f -s ${size}k $part" || return 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
|
Reference in New Issue
Block a user