Merge pull request #5 from LordGrimmauld/tmpfs_ignore

ignore ramfs
This commit is contained in:
Aleksandr Lutsai 2025-01-28 03:04:55 +03:00 committed by GitHub
commit fc4b80095e
Failed to generate hash of commit

View file

@ -10,8 +10,9 @@ pub struct MountPoint {
impl MountPoint { impl MountPoint {
pub fn collect_from_file(path: &str) -> Vec<MountPoint> { pub fn collect_from_file(path: &str) -> Vec<MountPoint> {
const FSTYPE_IGNORE: [&str; 8] = [ const FSTYPE_IGNORE: [&str; 9] = [
"tmpfs", "tmpfs",
"ramfs",
"swap", "swap",
"devtmpfs", "devtmpfs",
"devpts", "devpts",