| 1 |
//! Linux `mount`. |
| 2 |
//! |
| 3 |
//! These have been moved to a new `rustix::mount` module. |
| 4 |
|
| 5 |
#[deprecated(note = "`rustix::fs::UnmountFlags` moved to `rustix::mount::UnmountFlags`.")] |
| 6 |
#[doc(hidden)] |
| 7 |
pub use crate::mount::UnmountFlags; |
| 8 |
|
| 9 |
#[deprecated(note = "`rustix::fs::MountFlags` moved to `rustix::mount::MountFlags`.")] |
| 10 |
#[doc(hidden)] |
| 11 |
pub use crate::mount::MountFlags; |
| 12 |
|
| 13 |
#[deprecated( |
| 14 |
note = "`rustix::fs::MountPropagationFlags` moved to `rustix::mount::MountPropagationFlags`." |
| 15 |
)] |
| 16 |
#[doc(hidden)] |
| 17 |
pub use crate::mount::MountPropagationFlags; |
| 18 |
|
| 19 |
#[deprecated(note = "`rustix::fs::mount` moved to `rustix::mount::mount`.")] |
| 20 |
#[doc(hidden)] |
| 21 |
pub use crate::mount::mount; |
| 22 |
|
| 23 |
#[deprecated(note = "`rustix::fs::unmount` moved to `rustix::mount::unmount`.")] |
| 24 |
#[doc(hidden)] |
| 25 |
pub use crate::mount::unmount; |
| 26 |
|
| 27 |
#[deprecated( |
| 28 |
note = "`rustix::fs::remount` is renamed and moved to `rustix::mount::mount_remount`." |
| 29 |
)] |
| 30 |
#[doc(hidden)] |
| 31 |
pub use crate::mount::mount_remount as remount; |
| 32 |
|
| 33 |
#[deprecated( |
| 34 |
note = "`rustix::fs::bind_mount` is renamed and moved to `rustix::mount::mount_bind`." |
| 35 |
)] |
| 36 |
#[doc(hidden)] |
| 37 |
pub use crate::mount::mount_bind as bind_mount; |
| 38 |
|
| 39 |
#[deprecated( |
| 40 |
note = "`rustix::fs::recursive_bind_mount` is renamed and moved to `rustix::mount::mount_recursive_bind`." |
| 41 |
)] |
| 42 |
#[doc(hidden)] |
| 43 |
pub use crate::mount::mount_recursive_bind as recursive_bind_mount; |
| 44 |
|
| 45 |
#[deprecated( |
| 46 |
note = "`rustix::fs::change_mount` is renamed and moved to `rustix::mount::mount_change`." |
| 47 |
)] |
| 48 |
#[doc(hidden)] |
| 49 |
pub use crate::mount::mount_change as change_mount; |
| 50 |
|
| 51 |
#[deprecated( |
| 52 |
note = "`rustix::fs::move_mount` is renamed and moved to `rustix::mount::mount_move`." |
| 53 |
)] |
| 54 |
#[doc(hidden)] |
| 55 |
pub use crate::mount::mount_move as move_mount; |