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

Add readonly zfs property for current mountpoint #17093

Open
eharris opened this issue Feb 25, 2025 · 1 comment
Open

Add readonly zfs property for current mountpoint #17093

eharris opened this issue Feb 25, 2025 · 1 comment
Labels
Type: Feature Feature request or new feature

Comments

@eharris
Copy link
Contributor

eharris commented Feb 25, 2025

Describe the feature would like to see added to OpenZFS

Add a readonly zfs property for where the dataset is currently mounted, since the value may be different (due to zfs set -u mountpoint=) than what the mountpoint property value is. It would also be nice for snapshots.

How will this feature improve OpenZFS?

Ability to easily query where a dataset or snapshot is currently mounted.

@eharris eharris added the Type: Feature Feature request or new feature label Feb 25, 2025
@amotin
Copy link
Member

amotin commented Feb 25, 2025

I am not sure file system even knows where it is mounted. We had difficulties with finding that on Linux recently, trying to fix .zfs mounts for root dataset after pivot root. We've handled it somehow, but IIRC it was not great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Feature request or new feature
Projects
None yet
Development

No branches or pull requests

2 participants