]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Nov 2021 13:02:04 +0000 (14:02 +0100)
src/basic/mountpoint-util.c

index 52a429f1bde81a28c3bed7f64858cb7281d5cea1..803f36da8d8f764515536acb11db49eda7dc2b2a 100644 (file)
@@ -413,6 +413,7 @@ bool fstype_is_ro(const char *fstype) {
         return STR_IN_SET(fstype,
                           "DM_verity_hash",
                           "iso9660",
+                          "erofs",
                           "squashfs");
 }