Function move_mount
pub fn move_mount<From, To>(
from_dfd: BorrowedFd<'_>,
from_pathname: From,
to_dfd: BorrowedFd<'_>,
to_pathname: To,
flags: MoveMountFlags,
) -> Result<(), Errno> ⓘ
Available on crate feature
dep_rustix
only.Expand description
move_mount(from_dfd, from_pathname, to_dfd, to_pathname, flags)
This is not the same as mount
with the MS_MOVE
flag. If you want to
use that, use mount_move
instead.