View Single Post
Old 01-10-2012, 07:49 PM   #2
tekknogenius
Groupie
tekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheese
 
tekknogenius's Avatar
 
Posts: 198
Karma: 1118
Join Date: Jul 2011
Device: Pocket Edge
Good question. I would think that it might not be possible on a live system. Access to the nand (mtd device) may only be possible before it is mounted and chrooted to. Perhaps one could using the update.zip method (i.e. creating an update.zip file with the appropriate commands to do the bad block checking and dumping the log somewhere in the event there are bad blocks, then one could create another update.zip file with the commands to mark them as bad. I think the commands are listed in vicinc's thread about his borked device which had bad blocks in it)


http://www.linux-mtd.infradead.org/doc/ubifs.html
http://www.sakoman.com/OMAP/how-to-w...e-to-nand.html

Last edited by tekknogenius; 01-10-2012 at 07:59 PM.
tekknogenius is offline   Reply With Quote