[RFC] do_mounts: Allow mtd names for non-flash block filesystems
Karl Beldan
karl.beldan at gmail.com
Tue Oct 12 09:16:40 EDT 2010
On Mon, Oct 11, 2010 at 9:24 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Wed, 2010-10-06 at 23:02 +0200, Karl Beldan wrote:
>> Hi,
>>
>> I have been using this tweak for some time now, and I am getting tired of
>> having to resort to it so often.
>> It allows to pass such cmdline root as:
>> "root=mtdb:ubivolx rootfstype=squashfs"
>> I am pretty sure many people use squashfs/cramfs filesystems on top of nand,
>> for example, and I thought that this might initiate discussion.
>>
>> --
>> Karl
>>
>> Signed-off-by: Karl Beldan <karl.beldan at gmail.com>
>> ---
>> init/do_mounts.c | 15 +++++++++++++--
>> 1 files changed, 13 insertions(+), 2 deletions(-)
>
> Dunno...
>
> First of all, if you have to do this, let it be mtdblock, not mtdb - no
> need to breed aliases.
>
> But how about teaching squashfs to understand mtdX and mtd:name syntax
> instead?
>
Hi Artem,
I would not do that, squashfs and co just ask for a block device, putting mtdx
syntax awareness in each of them just does not seem a good fit to me.
BTW 'for-2.6.37' got https://patchwork.kernel.org/patch/145681/.
Regards,
--
Karl Beldan
More information about the linux-mtd
mailing list