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

Harald Hoyer harald.hoyer at gmail.com
Fri Jan 16 04:55:02 PST 2015


On 15.01.2015 17:40, Harald Hoyer wrote:
> 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.
> 
> 

Tom and I agreed, that a kernel patch introducing "rdrootfstype" and
"rdrootflags" would be better, than misusing rootfstype for the initrd fstype
as it is currently implemented in the kernel.


More information about the systemd-devel mailing list