From d4acc09d9d51be1417ce7ca33730cc8fb8c2bc4c Mon Sep 17 00:00:00 2001 From: Pontus Lundkvist Date: Fri, 27 Feb 2026 14:05:10 +0100 Subject: [PATCH] mountpoint-util: add exempt for overlay in fstype_is_blockdev_backed() This allows `systemd-mount` to be used with --type overlay --- src/basic/mountpoint-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index 624a3fcbed..8b293401bd 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -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) {