dump-session # Merge changes with 'changes=EXIT'
Posted: 23 Oct 2017, 21:31
Hello brokenman,
Maybe there's an issue similar to cleanup script as copying files at exit.
The following statement copies the whole content from folders in the live system to persistent device:
# Merge changes with 'changes=EXIT' destination:
cp -af $FOLDERS $MNAME 2>/dev/null
I think you could save writes to flash drives this way instead:
cp -uaf $FOLDERS $MNAME 2>/dev/null
Thank you!
Maybe there's an issue similar to cleanup script as copying files at exit.
The following statement copies the whole content from folders in the live system to persistent device:
# Merge changes with 'changes=EXIT' destination:
cp -af $FOLDERS $MNAME 2>/dev/null
I think you could save writes to flash drives this way instead:
cp -uaf $FOLDERS $MNAME 2>/dev/null
Thank you!