| 1 | libmount |
| 2 | ======== |
| 3 | |
| 4 | [Documentation](https://docs.rs/libmount) | |
| 5 | [Github](https://github.com/tailhook/libmount) | |
| 6 | [Crate](https://crates.io/crates/libmount) |
| 7 | |
| 8 | This is a higher-level wrapper around ``mount()`` system call for linux. |
| 9 | |
| 10 | Goals: |
| 11 | |
| 12 | 1. Type-safe wrapper, including mount options |
| 13 | 2. Support of new features such as overlayfs |
| 14 | 3. Good support of unprivileges user namespaces |
| 15 | 4. Very detailed error messages, which are helpful for end users |
| 16 | |
| 17 | Features: |
| 18 | |
| 19 | * [x] Bind Mounts |
| 20 | * [x] OverlayFS |
| 21 | * [x] Tmpfs |
| 22 | * [ ] Pseudo file systems: `proc`, `sys` |
| 23 | * [ ] `umount` and `umount2` |
| 24 | * [x] Parser of `/proc/PID/mountinfo` |
| 25 | * [x] Read-only mounts (remount) |
| 26 | * [ ] Ext2/3/4 |
| 27 | * [ ] Btrfs |
| 28 | * [ ] Support of mount flags throught trait |
| 29 | * [ ] Fuse |
| 30 | |
| 31 | |
| 32 | License |
| 33 | ======= |
| 34 | |
| 35 | Licensed under either of |
| 36 | |
| 37 | * Apache License, Version 2.0, (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) |
| 38 | * MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT) |
| 39 | |
| 40 | at your option. |
| 41 | |
| 42 | Contribution |
| 43 | ------------ |
| 44 | |
| 45 | Unless you explicitly state otherwise, any contribution intentionally |
| 46 | submitted for inclusion in the work by you, as defined in the Apache-2.0 |
| 47 | license, shall be dual licensed as above, without any additional terms or |
| 48 | conditions. |