summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/mount.rs
blob: d1e6a8238ad3e44716edb2a9c464aec1763b680b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Linux `mount`.
//!
//! These have been moved to a new `rustix::mount` module.

#[deprecated(note = "rustix::fs::UnmountFlags` moved to `rustix::mount::UnmountFlags`.")]
pub use crate::mount::UnmountFlags;

#[deprecated(note = "rustix::fs::MountFlags` moved to `rustix::mount::MountFlags`.")]
pub use crate::mount::MountFlags;

#[deprecated(
    note = "rustix::fs::MountPropagationFlags` moved to `rustix::mount::MountPropagationFlags`."
)]
pub use crate::mount::MountPropagationFlags;

#[deprecated(note = "`rustix::fs::mount` moved to `rustix::mount::mount`.")]
pub use crate::mount::mount;

#[deprecated(note = "`rustix::fs::unmount` moved to `rustix::mount::unmount`.")]
pub use crate::mount::unmount;

#[deprecated(
    note = "`rustix::fs::remount` is renamed and moved to `rustix::mount::mount_remount`."
)]
pub use crate::mount::mount_remount as remount;

#[deprecated(
    note = "`rustix::fs::bind_mount` is renamed and moved to `rustix::mount::mount_bind`."
)]
pub use crate::mount::mount_bind as bind_mount;

#[deprecated(
    note = "`rustix::fs::recursive_bind_mount` is renamed and moved to `rustix::mount::mount_recursive_bind`."
)]
pub use crate::mount::mount_recursive_bind as recursive_bind_mount;

#[deprecated(
    note = "`rustix::fs::change_mount` is renamed and moved to `rustix::mount::mount_change`."
)]
pub use crate::mount::mount_change as change_mount;

#[deprecated(
    note = "`rustix::fs::move_mount` is renamed and moved to `rustix::mount::mount_move`."
)]
pub use crate::mount::mount_move as move_mount;