May be this issue was fixed but I do not have the courage to read all the pages, especially as I found a solution to solve the problem.mikeslr wrote:At any rate, I decided to increase the size of my SaveFile. Resize Personal Storage file didn't start via the Menu. From the terminal, resizepfile.sh shows:
sh-4.3# resizepfile.sh
/usr/sbin/resizepfile.sh: line 61: ((1024-617
0)*200/1024): missing `)' (error token is "0)*200/1024)")
Any idea how to fix it.
I noticed that, in some cases (for me while running Puppy from an usb key self made frugal installation) resizepfile is not working because the value of the variable:
Code: Select all
SIZEFREE=`df -m | grep "$PERSISTMNTPT" | tr -s " " | cut -f 4 -d " "` #free space in ${DISTRO_FILE_PREFIX}save.3fs
instead of:1598 0 0 0
Code: Select all
1598
I solved this by adding a line like this:
Code: Select all
SIZEFREE_=`df -m | grep "$PERSISTMNTPT" | tr -s " " | cut -f 4 -d " "` #free space in ${DISTRO_FILE_PREFIX}save.3fs
SIZEFREE=$(echo $SIZEFREE_ | cut -f 1 -d " ")
Cordialement.