Skip to content

Request: expose encrypted file root in mount source by default #712

Closed

Description

@cyqsimon

This is to request that the default value of mount source be changed to contain the encrypted file root (I'll use gocryptfs's terminology CIPHERDIR interchangeably) for v2, instead of the static encfs. This has been requested previously in #153 and was declined for compatibility concerns, but in light of a full rewrite and a major version bump, I'd like to repropose it at this moment.

The reasoning is pretty much the same - since the FS identity is already exposed via mount type, this field could do something more useful. Specifically in my case, it could help KDE determine whether a FUSE mount is a network mount or not, and thereby apply different preview size thresholds.

How similar projects do it

  • gocryptfs simply sets source as CIPHERDIR
  • cryfs sets source as cryfs@CIPHERDIR

Activity

  1. vgough commented on Oct 16, 2026

    @vgough
    Owner

    I opted to include a prefix (encfs@), since otherwise this change would mean mount on Mac would no longer show what kind of filesystem it was, since there is no sub-type displayed there. Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions