{"id":64597,"library":"proc-mounts","title":"proc-mounts","description":"Fetch active mounts and swaps on a Linux system by parsing /proc/mounts and /proc/swaps.","status":"active","version":"0.3.0","language":"rust","source_language":null,"source_url":"https://github.com/pop-os/proc-mounts","tags":["linux","mounts","system","procfs"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nproc-mounts = \"0.3.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add proc-mounts","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"MountInfo","correct":"use proc_mounts::MountInfo;"}],"quickstart":{"code":"use proc_mounts::MountInfo;\n\nfn main() {\n    let mounts = MountInfo::new().unwrap();\n    for mount in mounts.iter() {\n        println!(\"{} mounted on {}\", mount.source, mount.dest);\n    }\n}","lang":"rust","description":"Lists all active mounts on a Linux system."},"warnings":[],"env_vars":null,"search_vec":"'/proc/mounts':15 '/proc/swaps':17 'activ':5 'fetch':4 'linux':11,18 'mount':3,6,19 'pars':14 'proc':2 'proc-mount':1 'procf':21 'swap':8 'system':12,20","created_at":"2026-06-17T16:58:05.604317+00:00","updated_at":"2026-06-17T16:58:05.604317+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/pop-os/proc-mounts","github":"https://github.com/pop-os/proc-mounts","docs":"https://docs.rs/proc-mounts/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}