]> git.ipfire.org Git - thirdparty/systemd.git/commit
mount: add ReadWriteOnly property to fail on read-only mounts
authorMartin Hundebøll <martin@geanix.com>
Fri, 1 May 2020 08:20:17 +0000 (10:20 +0200)
committerMartin Hundebøll <martin@geanix.com>
Fri, 1 May 2020 11:23:30 +0000 (13:23 +0200)
commitc600357ba608b42849c8d56aa75c24c849d6387e
tree17d5428c396b22e866b36b34ef00a3fff68e960f
parent6eb35fd695679452a7321e0f7ae513e8d0c5926b
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).
src/core/dbus-mount.c
src/core/load-fragment-gperf.gperf.m4
src/core/mount.c
src/core/mount.h
src/shared/bus-unit-util.c
test/fuzz/fuzz-unit-file/directives.service