should/can we do ubidetach on reboot
I guess it's safe/normal to detach an MTD device from UBI before rebooting ?
I'm asking because detaching is the only way to shut down the UBI background task (ubi_bgt0d). I do not want this task to start a flash erase operation or whatsoever just before the actual reboot takes place.
Quoted 9 lines · Norbert van Bolhuis
I guess it's safe/normal to detach an MTD device from UBI before rebooting ?
I'm asking because detaching is the only way to shut down the UBI background task (
ubi_bgt0d). I do not want this task to start a flash erase operation or whatsoever just before the actual reboot takes place.
Oh, I miss "[PATCH] MTD: Add UBI reboot notifier". This solves the problem.