Where is /dev/mtdX on Linux-3.8.0-rc7+

Yuva Raj yuvaeasy at gmail.com
Mon Apr 15 13:45:53 EDT 2013


Hi Bill,

I had a look at the following patchs.
http://permalink.gmane.org/gmane.linux.kernel.commits.head/303418
http://lists.infradead.org/pipermail/linux-mtd/2011-May/035368.html
http://comments.gmane.org/gmane.linux.drivers.mtd/35293


I think the only way to define different partition layout is to pass it as
command line argument to kernel.

Refer this for mtdparts argument description.
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/mtd/cmdlinepart.c?id=refs/tags/v3.8.7

I am thinking that the device file /dev/mtdx will be present since the char
diver code is still existing in the kernel mainline.(line no 1254)

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/mtd/mtdchar.c?id=refs/tags/v3.8.7




Regards,
Yuva



On Mon, Apr 15, 2013 at 3:19 PM, bill4carson <bill4carson at gmail.com> wrote:

> Hi, All
>
> It seems "MTD partitioning support" CONFIG_MTD_PARTITIONS has been deleted
> some time ago, at least not exist on Linux-3.8.0-rc7+.
> And there is no /dev/mtdx neither, so how do I make it happen?
>
> thanks in advance!
>
>
> --
> 八百里秦川尘土飞扬,三千万老陕齐吼秦腔。
>
> --bill
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130415/299f5194/attachment.html 


More information about the Kernelnewbies mailing list