From 4a88bb99f6ffc3a24374ed37e75939f2c746fc3d Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 4 Nov 2021 20:29:43 +0000 Subject: [PATCH] basic/mountpoint-util: detect erofs as a read-only FS (cherry picked from commit fac2c3e97d80fb356eb50abb429bdb5ed36afcf1) (cherry picked from commit 74af5a3696cd3747fa814a21eb1b3d7cae3dea56) --- src/basic/mountpoint-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index 67db665994..67478698e8 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -425,6 +425,7 @@ bool fstype_is_ro(const char *fstype) { return STR_IN_SET(fstype, "DM_verity_hash", "iso9660", + "erofs", "squashfs"); } -- 2.25.1