Re: [RFC PATCH] rootfs: Use tmpfs for rootfs even if root= is given

From: Mimi Zohar
Date: Wed Nov 01 2023 - 10:31:59 EST


On Wed, 2023-11-01 at 15:28 +0100, Greg Kroah-Hartman wrote:
> On Wed, Nov 01, 2023 at 10:16:37AM -0400, Stefan Berger wrote:
> >
> >
> > On 11/1/23 07:35, Rob Landley wrote:
> > > On 10/31/23 11:56, Greg Kroah-Hartman wrote:
> > > > On Tue, Oct 31, 2023 at 11:44:17AM -0400, Stefan Berger wrote:
> > > > > rootfs currently does not use tmpfs if the root= boot option is passed
> > > > > even though the documentation about rootfs (added in 6e19eded3684) in
> > > > > Documentation/filesystems/ramfs-rootfs-initramfs.rst states:
> > > > >
> > > > > If CONFIG_TMPFS is enabled, rootfs will use tmpfs instead of ramfs by
> > > > > default. To force ramfs, add "rootfstype=ramfs" to the kernel command
> > > > > line.
> > > >
> > > > At this point in time, is there even any difference between ramfs and
> > > > tmpfs anymore? Why would you want to choose one over the other here?
> > >
> > > I submitted a patch to fix this to the list multiple times, which got ignored as
> > > always. Most recently here:
> > >
> > > https://lore.kernel.org/lkml/8244c75f-445e-b15b-9dbf-266e7ca666e2@xxxxxxxxxxx/
> >
> > Everyone,
> > I now responded to Rob's patch over here:
> > https://lkml.org/lkml/2023/11/1/333
>
> Note, we can't do anything with lkml.org links, they don't even work at
> times, please always use lore.kernel.org
>
> Also, one patch out of a longer series also will not work as we can't
> pick it up from there either.
>
> Can someone resend it, as a stand-alone patch, with the proper people
> cc:ed and then we can handle that. You all know this...

The initramfs@xxxxxxxxxxxxxxx mailing list should be Cc'ed as well.

--
thanks,

Mimi