#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

#796 in Unix APIs

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–3MB
~54K SLoC