Yes, umount / reboot command doesn't hang after first boot + wait for 20 minutes. The jffs2_gcd_mtdx will re-erase empty blocks but how do I know it is finished? BTW, why jffs2_gcd_mtd need to re-erase empty blocks and it will cause some command cannot work if erase block is necessary. I mean many pepple could meet this problem if it is need to erase empty block and how do they overcome or workaround it. Thank you so much, Jocke BRs, H. Johnny > I guess this is the first reboot after mounting a new JFFS2 FS? > Then JFFS2 is reerasing empty blocks and you will have to wait > until it is done. > > I posted a patch long ago for this, but it was racy w.r.t JFSS2 module unload so > it didn't make it into the repo. Search the list for > "[JFFS2] Stop erasing blocks when rebooting." to find my old patch > > Jocke > > -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html