Skip to content

Commit

Permalink
Set fsname and subtype to "squashfs"
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored May 14, 2022
1 parent 4df64d2 commit 72be894
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/runtime/runtime.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
};

Expand Down

0 comments on commit 72be894

Please sign in to comment.