danburkert / procinfo-rs

A Rust library for accessing Linux process and system information
Apache License 2.0
91 stars 39 forks source link

pid: add support for mountinfo #18

Closed lucab closed 7 years ago

lucab commented 7 years ago

This introduces support for parsing and exposing mounts-related information from /proc/<pid>/mountinfo.

lucab commented 7 years ago

Travis seems unhappy about its own mountinfo on nightly only(!?).

Due to other deadlines I'm a bit time-constrained for this at the moment, but I'll try to rebase and debug toward the end of the week. Thanks for the feedback!

lucab commented 7 years ago

Rebased, PTAL.

(I've left the MountOption change in a separate commit as I wasn't still completely convinced about it)

lucab commented 7 years ago

Gentle ping for a further review round.

danburkert commented 7 years ago

Thanks!

lucab commented 7 years ago

Nice. Let me know once this gets into a tagged release, as I have another crate which could use this.