[GH-ISSUE #2137] Does this support flock? #1088

Closed
opened 2026-03-04 01:51:18 +03:00 by kerem · 1 comment
Owner

Originally created by @hackersean on GitHub (Mar 22, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2137

Additional Information

I would like to know if s3fs supports flock, which is used to select the master during multi-party mounting.

Version of s3fs being used (s3fs --version)

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

Kernel information (uname -r)

GNU/Linux Distribution, if applicable (cat /etc/os-release)

How to run s3fs, if applicable

[] command line
[] /etc/fstab

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

Details about issue

Originally created by @hackersean on GitHub (Mar 22, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2137 <!-- -------------------------------------------------------------------------- The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all. Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD. --------------------------------------------------------------------------- --> ### Additional Information I would like to know if s3fs supports flock, which is used to select the master during multi-party mounting. #### Version of s3fs being used (`s3fs --version`) <!-- example: V1.91 (commit:b19262a) --> #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- example: 2.9.2 --> #### Kernel information (`uname -r`) <!-- example: 5.10.96-90.460.amzn2.x86_64 --> #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- command result --> #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] command line [] /etc/fstab <!-- Executed command line or /etc/fastab entry --> ``` ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) <!-- if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages. --> ``` ``` ### Details about issue <!-- Please describe the content of the issue in detail. -->
kerem closed this issue 2026-03-04 01:51:18 +03:00
Author
Owner

@ggtakec commented on GitHub (Mar 26, 2023):

@hackersean
s3fs doesn't handle flock, but it is handled the default behavior of FUSE library.
Perhaps it can be used as an advisory lock for files on the same host.
(Note that the usual notice is that it is not available as a lock to other hosts.)

<!-- gh-comment-id:1484081709 --> @ggtakec commented on GitHub (Mar 26, 2023): @hackersean s3fs doesn't handle `flock`, but it is handled the default behavior of FUSE library. Perhaps it can be used as an advisory lock for files on the same host. (Note that the usual notice is that it is not available as a lock to other hosts.)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1088
No description provided.