]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
basic: cramfs is also a read-only fs
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Nov 2021 11:31:57 +0000 (12:31 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Nov 2021 12:00:31 +0000 (13:00 +0100)
src/basic/mountpoint-util.c

index c813a4f56fe0db9c1852a3c92c40b36a031746f6..240df3782a05d80543a47581ee9a4efbd0ba759c 100644 (file)
@@ -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");