more resize changes
This commit is contained in:
parent
53a5328a6d
commit
0289427125
@ -944,12 +944,9 @@ part_resize()
|
|||||||
ext[2-4])
|
ext[2-4])
|
||||||
e2fsck -f "$part"; sleep 0.5
|
e2fsck -f "$part"; sleep 0.5
|
||||||
resize2fs -f "$part" ${size}K 2>$ERR
|
resize2fs -f "$part" ${size}K 2>$ERR
|
||||||
errshow "resize2fs -f $part ${size}K" || return 1
|
errshow "resize2fs -f $part ${size}K" { echo 'press enter to continue'; read; return 1; }
|
||||||
;;
|
|
||||||
ntfs)
|
|
||||||
ntfsresize -f -s ${size}k "$part" 2>$ERR
|
|
||||||
errshow "ntfsresize -f -s ${size}k $part" || return 1
|
|
||||||
;;
|
;;
|
||||||
|
ntfs) ntfsresize -f -s ${size}k "$part" || { echo 'press enter to continue'; read; return 1; } ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
|
Reference in New Issue
Block a user