Hi Chris, On Fri, Dec 13, 2019 at 3:45 PM Chris Brandt <Chris.Brandt@xxxxxxxxxxx> wrote: > On Fri, Dec 13, 2019, Geert Uytterhoeven wrote: > > On Thu, Dec 12, 2019 at 9:19 PM Chris Brandt <Chris.Brandt@xxxxxxxxxxx> > > wrote: > > > On Thu, Dec 12, 2019, Sergei Shtylyov wrote: > > > > As you can see, the deleted file is back after unmount/re-mount... > > > > > > Did you do a 'sync' before you unmounted? > > > > Does it fail without? If yes, that must be a jffs2 bug. > > It does not fail for me with or without the sync. Good. > I just I was remembering that you need to call sync before you call reboot > or shutdown because those do not sync first. That's what I remember anyway. Yeah, "embedded" reboot commands may reboot immediately, without shutting down the system cleanly. Same for "reboot -f" on Debian. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds