diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-23 22:16:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-12-18 14:47:46 +0100 |
commit | fd89051ec3d2555c19d71d5fc6d76809ca3bb79c (patch) | |
tree | 3a39651fa4d04ae5cdf9030fe08196e491ddf809 /tmpfiles.d | |
parent | gpt-auto: make arg_root_rw a tri-state (diff) | |
download | systemd-fd89051ec3d2555c19d71d5fc6d76809ca3bb79c.tar.gz systemd-fd89051ec3d2555c19d71d5fc6d76809ca3bb79c.tar.bz2 systemd-fd89051ec3d2555c19d71d5fc6d76809ca3bb79c.zip |
gpt-auto: propagate gpt partition ro/rw flag into root mount
This ensures that the read/write state of the root mount matches the
read/write flag in the GPT partition table entry.
This is only used as fallback in case no ro/rw flag is specified on the
kernel cmdline, and there's no entry for the root partition in
/etc/fstab.
This is missing functionality of the GPT auto logic, as without this the
root partition was always mounted read-only — when booting with zero
configuration in /etc/fstab and /proc/cmdline —, as we defaulted to
read-only behaviour for all mounts. Moreover we honoured the r/o flag in
the partition table for all other partition types, except for the root
partition.
Diffstat (limited to 'tmpfiles.d')
0 files changed, 0 insertions, 0 deletions