[systemd-devel] [PATCH] Add support for "ROOT=" on the kernel command line

Harald Hoyer harald.hoyer at gmail.com
Thu Jan 15 08:40:55 PST 2015

On 15.01.2015 16:51, Harald Hoyer wrote:
> On 15.01.2015 16:45, Harald Hoyer wrote:
>> On 15.01.2015 16:24, harald at redhat.com wrote:
>>> From: Harald Hoyer <harald at redhat.com>
>>> "ROOT=" mounts the initial ramdisk with a tmpfs filesystem.
>> Ok, not true. Omitting "root=" will mount the initial ramdisk as a tmpfs
>> filesystem, if tmpfs support is compiled in the kernel.
>> Seems like the preferred way of having the initrd as tmpfs, is to specify
>> "ROOT=" instead of "root=".
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6e19eded3684dc184181093af3bff2ff440f5b53

Thinking more about it, this would also require uppercase ROOTFSTYPE and
ROOTFSFLAGS to not conflict with the new definition in the kernel of "root" as
being the tmpfs.

More information about the systemd-devel mailing list