Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-134294 / Expose whether snapdir is enabled #269

Open
wants to merge 1 commit into
base: truenas/zfs-2.3-release
Choose a base branch
from

Conversation

anodos325
Copy link

@anodos325 anodos325 commented Feb 18, 2025

Include information about whether the ZFS snapdir is enabled in the mount superblock information. This allows userspace applications to use mountinfo to determine whether snapshots will be accessible.

@anodos325 anodos325 changed the title Expose whether snapdir is enabled NAS-134294 / Expose whether snapdir is enabled Feb 18, 2025
@anodos325 anodos325 force-pushed the expose-snapdir-sbflags branch from aaa7d17 to 18cee88 Compare February 18, 2025 18:29
Include information about whether the ZFS snapdir is enabled
in the mount superblock information. This allows userspace
applications to use mountinfo to determine whether snapshots
will be accessible. The ability to specify snapdir or
nosnapdir as mount options is also added as a convenience
feature so that an admin may choose to temporarily override
the dataset property.

Signed-off-by: Andrew Walker <[email protected]>
@anodos325 anodos325 force-pushed the expose-snapdir-sbflags branch from 01ef8f5 to ef65950 Compare February 19, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants