diff options
author | Martin Hundebøll <martin@geanix.com> | 2020-05-01 10:20:17 +0200 |
---|---|---|
committer | Martin Hundebøll <martin@geanix.com> | 2020-05-01 13:23:30 +0200 |
commit | c600357ba608b42849c8d56aa75c24c849d6387e (patch) | |
tree | 17d5428c396b22e866b36b34ef00a3fff68e960f /src/core/mount.h | |
parent | Merge pull request #15547 from kkdwivedi/notify-barrier (diff) | |
download | systemd-c600357ba608b42849c8d56aa75c24c849d6387e.tar.xz systemd-c600357ba608b42849c8d56aa75c24c849d6387e.zip |
mount: add ReadWriteOnly property to fail on read-only mounts
Systems where a mount point is expected to be read-write needs a way to
fail mount units that fallback as read-only.
Add a property to allow setting the -w option when calling mount(8).
Diffstat (limited to 'src/core/mount.h')
-rw-r--r-- | src/core/mount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount.h b/src/core/mount.h index 07fa05f3ca..a1bc2d71a6 100644 --- a/src/core/mount.h +++ b/src/core/mount.h @@ -59,6 +59,8 @@ struct Mount { bool lazy_unmount; bool force_unmount; + bool read_write_only; + MountResult result; MountResult reload_result; MountResult clean_result; |