google / rrg

A Rust rewrite of the GRR agent.
MIT License
46 stars 22 forks source link

Add the `EnumerateFilesystems` action #30

Closed Fedya001 closed 4 years ago

Fedya001 commented 4 years ago

This pull request implements the EnumerateFilesystems action, closes #21.

The list of filesystems I got from /proc/mounts. And if it's missed, implementation falls back to /etc/mtab. For parsing these mount-tab-like files, I used proc_mounts crate.