-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for an idle timeout when mounting a squashfile. (#28)
* Add support for an idle timeout when mounting a squashfile. If specified via the timeout option (-o timeout=N), then squashfuse_ll will track the time of all accesses as well as the count of open files and directories. If the open count is zero and more seconds than the specified timeout have passed since the last activity on the filesystem, then we exit. The approach is based on fuse's own signal handling (from lib/fuse_signals.c). * use sig_atomic_t for refcount * bump version
- Loading branch information
1 parent
3f4a93f
commit 3998713
Showing
4 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
squashfuse | ||
squashfuse_ll | ||
squashfuse_ls | ||
squashfuse_extract | ||
*.dSYM | ||
*.o | ||
*.lo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters