#mount #linux #filesystem #fstab #mtab

mountinfo

A Rust library for parsing mount points on Linux and other Unix systems

1 unstable release

0.2.0 Feb 6, 2022

#750 in Unix APIs

Download history 3/week @ 2024-02-15 12/week @ 2024-02-22 8/week @ 2024-02-29 3/week @ 2024-03-07 9/week @ 2024-03-14 27/week @ 2024-03-21 12/week @ 2024-03-28

51 downloads per month

MIT license

15KB
228 lines

mountinfo

A Rust crate for parsing the mount points in Linux and other Unix systems. Can be used to query the filesystems mounted on the system.

This crate automatically parses some of the mount options, and cointains functions for querying if, for example, a path is mounted on a particular filesystem.

License

This crate is licensed under the MIT license.

Dependencies

~2.2–3MB
~54K SLoC