Skip to main content

Module mount

Module mount 

Source
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§

NfsBypassInfo
Describes an NFS bypass-capable mount point.

Enums§

NfsSecurity
NFS authentication/security flavor as reported by /proc/mounts sec= option.
NfsTransportSecurity
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 path resides 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).