should/can we do ubidetach on reboot

Norbert van Bolhuis nvbolhuis at aimvalley.nl
Wed Oct 21 02:07:13 EDT 2009


Norbert van Bolhuis wrote:
> 
> 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.




More information about the linux-mtd mailing list