[systemd-devel] [PATCH] fstab-generator: default to "ro"

Tom Gundersen teg at jklm.no
Fri Mar 1 08:21:00 PST 2013


On Fri, Mar 1, 2013 at 4:56 PM, Harald Hoyer <harald at redhat.com> wrote:
> Am 01.03.2013 15:20, schrieb Tom Gundersen:
>> On Fri, Mar 1, 2013 at 3:13 PM,  <harald at redhat.com> wrote:
>>> If no "ro" or "rw" is specified on the kernel command line, mount root
>>> read-only on /sysroot by default
>>
>> Is this consistent with what the kernel does if you don't have an initramfs?
>>
>> -t
>>
>
> # > /tt
> sh: /tt: Read-only file system
>
> yes

Cool. +1 from me then.

I had a look at the kernel sources, the default root mount options is
"MS_RDONLY  | MS_SILENT". Should we be passing "silent" as well to
stay compatible? I don't know what the downside would be, except that
there does not appear to be a way to switch back to "loud" from the
kernel commandline.

-t


More information about the systemd-devel mailing list