读MTD分区表

通过/proc虚拟文件系统读取MTD分区表:cat /proc/mtd 具体由linux/drivers/mtd下的mtdcore.c文件中的mtd_read_proc函数来实现: static inline int mtd_proc_info (char *buf, int i) {  struct mtd_info *this = mtd_table[i];  if (!this)   ret
相关文章
相关标签/搜索