Precaution when insufficient space in working-partition
September 18, 2026 —
BarryK
A couple of people have run into this problem, of having
insufficient free space in the working-partition. There are
various scenarios where this is a problem.
One of those is when do a version update; the latest 'vmlinuz', 'initrd' and 'easy.sfs' may push the free space below a reasonable value. One precaution that can be taken is to reduce the history-depth; that is, how many previous versions of Easy are kept. I have inserted this code into /inc/07-new-version script, at line 28:
#20260917 check if enough space in working-partition...
WPfreem=$(df -m /mnt/${WKG_DEV} | grep '^/dev/' | tr -s ' ' | cut -f 4 -d ' ')
if [ $WPfreem -lt 3000 ];then #3GB
if [ $DEPTH_MAX -gt 2 ];then
DEPTH_MAX=$((${DEPTH_MAX}-1))
echo -n "$DEPTH_MAX" > /mnt/${WKG_DEV}/${WKG_DIR}.session/session1/var/local/version-history-depth
fi
fi
That is one step, more checks can be done.
Tags: easy