diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-11-04 20:29:43 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-19 18:19:28 +0100 |
commit | 74af5a3696cd3747fa814a21eb1b3d7cae3dea56 (patch) | |
tree | f5861054c0717f579d1418e82b534c27017e546d | |
parent | cdc1cd4eb3f86f3100d6d04b1b5d12a2d87b8704 (diff) | |
download | systemd-74af5a3696cd3747fa814a21eb1b3d7cae3dea56.tar.gz |
basic/mountpoint-util: detect erofs as a read-only FS
(cherry picked from commit fac2c3e97d80fb356eb50abb429bdb5ed36afcf1)
-rw-r--r-- | src/basic/mountpoint-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index e7a5a99551..7e57d9a226 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -424,6 +424,7 @@ bool fstype_is_ro(const char *fstype) { return STR_IN_SET(fstype, "DM_verity_hash", "iso9660", + "erofs", "squashfs"); } |