I recall when I tried it I found the unmount function wasn’t atomic, so not trivial to do.

I guess we could issue the shell command (which is atomic), but perhaps that would cause problems (with recursion into the shell)?

Regards, Mark

On Apr 22, 2026, at 3:12 AM, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> wrote:

 Mark,

Am 18.04.26 um 00:17 schrieb Michael Balzer via OvmsDev:
The sequence that currently works is as follows:
  1. ota partitions store upgrade
  2. module reset (aka ‘reboot’)
  3. sd unmount
  4. ota partitions store migrate
  5. ota partitions upgrade factory
  6. module reset (aka ‘reboot’)

What's the reasoning behind not letting `ota partitions store migrate` do the SD unmounting if needed?

Integrating this would simplify the process and the upgrade wizard logic, and I don't see the necessity to require the user doing this. Do I miss something?

Regards,
Michael

-- 
Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
Fon 02330 9104094 * Handy 0176 20698926

_______________________________________________
OvmsDev mailing list -- ovmsdev@lists.openvehicles.com
To unsubscribe send an email to ovmsdev-leave@lists.openvehicles.com
<OpenPGP_signature.asc>