Skip to content

Borg FUSE mount maintains a persistent repo lock #9007

@marekkrk

Description

@marekkrk

When an entire repository is mounted with "borg mount", the corresponding FUSE process maintains a constant lock on the repository. This prevents "borg create" from creating new archives in the locked repository. New archives can only be created once the repository is unmounted.

Is it possible for the FUSE code to only acquire locks when read operations are performed? That way it should be possible to add new archives while the repository is mounted as a directory.

My use case for that is using a borg repository as a deduplicating version control system for large binary files with ability to mount a repo as a read-only file system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions