Quote:
Originally Posted by geekmaster
You really should backup main while booted from diags. Booting from main actually WRITES to the main partition, and booting diags sometimes writes to the diags partition, which can corrupt a backup image if taken while files are open on it.
|
Main is mounted read-only and very few activites are remounting it to read-write. They are mostly upstart scripts which are executed in [first] boot sequence or on shutdown (i.e. not in time when KT is usable and accessible for SSH). Remounting is also done on OTA update (which is rare) or in some scripts, which should be invoked by user explicitly.
"Mounted read-only" means that no writes to main can happen, so it's OK and safe to dump main to /mnt/us (which is partition distinct from main) within SSH session and it will be resulted in consistent backup image.
It's also [obviously] OK and safe to boot into main, manually mount diags and dump diags to /mnt/us.
Just clarifying things.