From 72be89428e25719376fba753b65edff1f2bd0f62 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 14 May 2022 12:50:05 +0200 Subject: [PATCH] Set fsname and subtype to "squashfs" --- src/runtime/runtime.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index 82b4241..afedc05 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -1,4 +1,9 @@ /************************************************************************** + * + * PLEASE NOTE: + * This version of the AppImage runtime is meant to be as self-contained + * as possible (one .c file) and use as few external dependencies + * as possible * * Copyright (c) 2004-22 Simon Peter * Portions Copyright (c) 2007 Alexander Larsson @@ -811,6 +816,8 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) { struct fuse_opt fuse_opts[] = { {"offset=%zu", offsetof(sqfs_opts, offset), 0}, {"timeout=%u", offsetof(sqfs_opts, idle_timeout_secs), 0}, + {"fsname=%s", "squashfuse", 0}, + {"subtype=%s", "squashfuse", 0}, FUSE_OPT_END };