aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-01-02 18:11:18 +0100
committerJakob Unterwurzacher2021-01-02 18:19:41 +0100
commitde108d3fc06dd9de404c497dfa9faa26956f43e3 (patch)
tree3f1044f2bdd7587cd34e321ba49c5f70d1cf03a0 /Documentation
parentc20c7992a06434dd4a9624a57aee608acfc33c12 (diff)
-idle: don't lazy-unmount
When a process has its working dir inside the mount, the only way we notice is that we get EBUSY when trying to unmount. We used to lazy-unmount in this case, but this means pulling the rug from under the process. For example, bash will start throwing cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory messages. Fixes https://github.com/rfjakob/gocryptfs/issues/533
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/MANPAGE.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md
index a984aa6..5febe90 100644
--- a/Documentation/MANPAGE.md
+++ b/Documentation/MANPAGE.md
@@ -241,6 +241,9 @@ Only for forward mode: automatically unmount the filesystem if it has been idle
for the specified duration. Durations can be specified like "500s" or "2h45m".
0 (the default) means stay mounted indefinitely.
+When a process has open files or its working directory in the mount,
+this will keep it not idle indefinitely.
+
#### -kernel_cache
Enable the kernel_cache option of the FUSE filesystem, see fuse(8) for details.