basic/mountpoint-util: detect erofs as a read-only FS
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 4 Nov 2021 20:29:43 +0000 (20:29 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Nov 2021 17:19:28 +0000 (18:19 +0100)
(cherry picked from commit fac2c3e97d80fb356eb50abb429bdb5ed36afcf1)

src/basic/mountpoint-util.c

index e7a5a995514ad4ae505213a87b6e2957e63e5bc6..7e57d9a226c4b2fbd318b2bcd1660a1c51340112 100644 (file)
@@ -424,6 +424,7 @@ bool fstype_is_ro(const char *fstype) {
         return STR_IN_SET(fstype,
                           "DM_verity_hash",
                           "iso9660",
+                          "erofs",
                           "squashfs");
 }