[RFC PATCH] rootfs: force mounting rootfs as tmpfs
Mimi Zohar
zohar at linux.vnet.ibm.com
Thu Feb 1 04:22:01 UTC 2018
On Wed, 2018-01-31 at 21:03 -0500, Arvind Sankar wrote:
> On Wed, Jan 31, 2018 at 05:48:20PM -0600, Rob Landley wrote:
> > On 01/31/2018 04:07 PM, Mimi Zohar wrote:
> > > On Wed, 2018-01-31 at 13:32 -0600, Rob Landley wrote:>> (The old "I configured in tmpfs and am using rootfs but I want that
> > rootfs
> > >> to be ramfs, not tmpfs" code doesn't seem to be a real-world concern, does
> > >> it?)
> > >
> > > I must be missing something. Which systems don't specify "root=" on
> > > the boot command line.
> >
> > Any system using initrd or initramfs?
> >
>
> Don't a lot of initramfs setups use root= to tell the initramfs which
> actual root file system to switch to after early boot?
With your patch and specifying "root=tmpfs", dracut is complaining:
dracut: FATAL: Don't know how to handle 'root=tmpfs'
dracut: refusing to continue
Mimi
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list