I am trying to mount our wi-fi driver on one of the mtd, if possible dynamically.

So my question is , Is there a way to know which of the mtd in /dev/mtdX currently free?