diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2016-07-31 19:39:11 +0100 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2016-07-31 19:39:11 +0100 |
commit | bc7e55aee064c06709dcc3cb329158cb6b75f935 (patch) | |
tree | 9b9d05f13f3e39714909014d666a6f8833176037 /src/bindfs.1 | |
parent | e8a36fedff1e2836716a2345bd5c6b3565e990a1 (diff) | |
download | bindfs-bc7e55aee064c06709dcc3cb329158cb6b75f935.tar.gz |
Implemented --enable-lock-forwarding.
This should address #36.
Diffstat (limited to 'src/bindfs.1')
-rw-r--r-- | src/bindfs.1 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/bindfs.1 b/src/bindfs.1 index fd2095d..f74cfc8 100644 --- a/src/bindfs.1 +++ b/src/bindfs.1 @@ -316,6 +316,23 @@ will be reflected in a mirrored file's ctime. The underlying file's ctime will still be updated normally. .TP +.B \-\-enable\-lock\-forwarding, \-o enable\-lock\-forwarding +Forwards \fBflock\fP and \fBfcntl\fP locking requests to the source directory. +This way, locking a file in the bindfs mount will also lock the file in the +source directory. + +This option \fBmust\fP be used with \fB\-\-multithreaded\fP because otherwise +bindfs will deadlock as soon as there is lock contention. However, see +\fB\%BUGS\fP below for caveats about \fB\-\-multithreaded\fP with the current +implementation. + +.TP +.B \-\-disable\-lock\-forwarding, \-o disable\-lock\-forwarding +Currently does nothing, but a future release may default to enabling lock +forwarding. If you depend on this behaviour, it's recommended to set this flag +explicitly. + +.TP .B \-\-enable\-ioctl, \-o enable\-ioctl Enables forwarding of ioctl, which is needed for some advanced features such as append-only files (\fBchattr +a\fP). Note that the ioctl action will be |