Expand description
Parses /proc/self/mountinfo to identify NFSv4.2 mounts and extracts
opaque NFS file handles via name_to_handle_at(2) for use in userspace
compound RPCs.
Structs§
- NfsBypass
Info - Describes an NFS bypass-capable mount point.
Enums§
- NfsSecurity
- NFS authentication/security flavor as reported by
/proc/mountssec=option. - NfsTransport
Security - NFS transport security mode from
xprtsec=mount option (RFC 9289).
Functions§
- get_
mount_ id - Get the mount ID for a path from
/proc/self/mountinfo. - is_
mount_ present_ global - Check if a path is mounted in the global mount namespace (
/proc/mounts). - probe_
nfs_ bypass - Probe whether
pathresides on an NFSv4.2 mount eligible for compound RPC bypass. - resolve_
nfs_ handle - Resolve a directory path to an opaque NFS file handle using
name_to_handle_at(2).