| 1 | //! Linux `mount` API. |
| 2 | |
| 3 | // The `mount` module includes the `mount` function and related |
| 4 | // functions which were originally defined in `rustix::fs` but are |
| 5 | // now replaced by deprecated aliases. After the next semver bump, |
| 6 | // we can remove the aliases and all the `#[cfg(feature = "mount")]` |
| 7 | // here and in src/backend/*/mount. |
| 8 | // |
| 9 | // The `fsopen` module includes `fsopen` and related functions. |
| 10 | |
| 11 | #[cfg (feature = "mount" )] |
| 12 | mod fsopen; |
| 13 | mod mount_unmount; |
| 14 | mod types; |
| 15 | |
| 16 | #[cfg (feature = "mount" )] |
| 17 | pub use fsopen::*; |
| 18 | pub use mount_unmount::*; |
| 19 | pub use types::*; |
| 20 | |