Hi,
On my Pi setup/installation script, I use raspi-config --expand-rootfs but would like to tell whether or not the filesystem has been expanded, so that it doesn't repeatedly try to do it (when it has already been done).
Trawled through github without luck. I could create a temp file when it's been done, before rebooting, but wondered if anyone could help with something more comprehensive using df
Ideas welcome
Thanks
Hi,
On my Pi setup/installation script, I use
raspi-config --expand-rootfsbut would like to tell whether or not the filesystem has been expanded, so that it doesn't repeatedly try to do it (when it has already been done).Trawled through github without luck. I could create a temp file when it's been done, before rebooting, but wondered if anyone could help with something more comprehensive using
dfIdeas welcome
Thanks