pub fn mount_at(
fs_fd: impl AsFd,
dirfd: impl AsFd,
path: impl Arg,
) -> Result<()>Expand description
Moves a mounted filesystem to a target location.
§Arguments
fs_fd- File descriptor for the mounted filesystem (fromfsmount())dirfd- Directory file descriptor for the target mount pointpath- Path relative todirfdwhere the filesystem should be mounted
§Returns
Returns Ok(()) on success, or an error if the mount operation fails.