From d66f700a7873192e9412ab048591cfec46a5b3b4 Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 21 Oct 2025 18:52:20 +0200 Subject: [PATCH] Revert "auto_unmount (#93)" This reverts commit 92caa2e5dfeee3932b2ede95a69bd1955201ba99. --- src/runtime/runtime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index 5e24191..2ebb3c8 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -1014,7 +1014,6 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) { sqfs_ll* ll; struct fuse_opt fuse_opts[] = { {"offset=%zu", offsetof(sqfs_opts, offset), 0}, - {"auto_unmount", 0}, {"timeout=%u", offsetof(sqfs_opts, idle_timeout_secs), 0}, {"fsname=squashfuse", 0}, {"subtype=squashfuse", 0}, @@ -1047,7 +1046,7 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) { opts.image = NULL; opts.mountpoint = 0; opts.offset = 0; - opts.idle_timeout_secs = 1; + opts.idle_timeout_secs = 0; if (fuse_opt_parse(&args, &opts, fuse_opts, sqfs_opt_proc) == -1) sqfs_usage(argv[0], true, true);