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

Mimi Zohar <[email protected]> Thu, 02 Nov 2023 07:56:19 -0400
Newsgroups org.kernel.vger.initramfs,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Wed, 2023-11-01 at 06:35 -0500, 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/[email protected]/

Rob, the patch set wasn't upstreamed, but it certainly wasn't ignored. 
There were multiple comments.

Can you at least re-post "[PATCH 5/5] fix rootfstype=tmpfs" after
addressing the checkpatch.pl complaints?

-- 
thanks,

Mimi