{"id":68212,"library":"sys-mount","title":"Sys-mount","description":"High level FFI binding around the sys mount and umount2 calls.","status":"active","version":"3.1.0","language":"rust","source_language":null,"source_url":"https://github.com/pop-os/sys-mount","tags":["mount","filesystem","ffi","system"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsys-mount = \"3.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sys-mount","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Mount","correct":"use sys_mount::Mount;"}],"quickstart":{"code":"use sys_mount::Mount;\n\nfn main() -> Result<(), Box<dyn std::error::Error>> {\n    let mount = Mount::new(\"/dev/sda1\", \"/mnt\", \"ext4\", sys_mount::MsFlags::empty(), None)?;\n    println!(\"Mounted successfully\");\n    Ok(())\n}","lang":"rust","description":"Mounts a filesystem using sys-mount."},"warnings":[{"fix":"Run the program with sudo or ensure proper permissions.","message":"Requires root privileges or appropriate capabilities to mount.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'around':8 'bind':7 'call':14 'ffi':6,17 'filesystem':16 'high':4 'level':5 'mount':3,11,15 'sys':2,10 'sys-mount':1 'system':18 'umount2':13","created_at":"2026-06-17T17:46:59.385557+00:00","updated_at":"2026-06-17T17:46:59.385557+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/sys-mount","github":"https://github.com/pop-os/sys-mount","docs":"https://docs.rs/sys-mount/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}