summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-16 12:31:57 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-16 13:00:31 +0100
commit30741d6cca1bc742492b4bbba1ef64d6b0e98bc3 (patch)
tree15ec0b91b1ea60fb1e6798fd87a1358587caa390
parent5a87425c61d4e2e51c0abce20755462166c0479c (diff)
downloadsystemd-30741d6cca1bc742492b4bbba1ef64d6b0e98bc3.tar.gz
basic: cramfs is also a read-only fs
-rw-r--r--src/basic/mountpoint-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c
index c813a4f56f..240df3782a 100644
--- a/src/basic/mountpoint-util.c
+++ b/src/basic/mountpoint-util.c
@@ -411,6 +411,7 @@ bool fstype_is_ro(const char *fstype) {
/* All Linux file systems that are necessarily read-only */
return STR_IN_SET(fstype,
"DM_verity_hash",
+ "cramfs",
"erofs",
"iso9660",
"squashfs");