Why a 'local' mountpoint does not get deleted after zfs destroy? #14216
Unanswered
youzhongyang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following piece of code does not rmdir the mountpoint if it is 'local':
https://github.com/openzfs/zfs/blob/master/lib/libzfs/libzfs_mount.c#L874
Any reason why this is the case? The mountpoint is created if it does not exist at the time when the zfs file system is created and mounted.
Beta Was this translation helpful? Give feedback.
All reactions