Skip to contentSkip to conversation

should/can we do ubidetach on reboot

DISCUSSION Norbert van Bolhuis 1 participant 2 messages Oct 20, 2009 – Oct 21, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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.