(
source: Source,
target: Target,
)
| 154 | #[doc(alias = "mount")] |
| 155 | #[doc(alias = "MS_MOVE")] |
| 156 | pub fn mount_move<Source: path::Arg, Target: path::Arg>( |
| 157 | source: Source, |
| 158 | target: Target, |
| 159 | ) -> io::Result<()> { |
| 160 | source.into_with_c_str(|source| { |
| 161 | target.into_with_c_str(|target| { |
| 162 | backend::mount::syscalls::mount( |
| 163 | Some(source), |
| 164 | target, |
| 165 | None, |
| 166 | MountFlagsArg(InternalMountFlags::MOVE.bits()), |
| 167 | None, |
| 168 | ) |
| 169 | }) |
| 170 | }) |
| 171 | } |
| 172 | |
| 173 | /// `umount2(target, flags)` |
| 174 | /// |
nothing calls this directly
no test coverage detected