mountpoint-util: add exempt for overlay in fstype_is_blockdev_backed()

This allows `systemd-mount` to be used with --type overlay
This commit is contained in:
Pontus Lundkvist
2026-02-27 14:06:09 +01:00
committed by Pontus Lundkvist
parent 0dbd116351
commit d4acc09d9d
+1 -1
View File
@@ -402,7 +402,7 @@ bool fstype_is_blockdev_backed(const char *fstype) {
if (x)
fstype = x;
return !streq(fstype, "9p") && !fstype_is_network(fstype) && !fstype_is_api_vfs(fstype);
return !STR_IN_SET(fstype, "9p", "overlay") && !fstype_is_network(fstype) && !fstype_is_api_vfs(fstype);
}
bool fstype_is_ro(const char *fstype) {