From 0a052c9a4af30467ba32e30b9e2c9e863322e95b Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Mon, 27 Jan 2025 18:48:53 +0100 Subject: [PATCH] ignore ramfs --- src/mountpoints.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mountpoints.rs b/src/mountpoints.rs index c71bbaa..0c4a61d 100644 --- a/src/mountpoints.rs +++ b/src/mountpoints.rs @@ -10,8 +10,9 @@ pub struct MountPoint { impl MountPoint { pub fn collect_from_file(path: &str) -> Vec { - const FSTYPE_IGNORE: [&str; 8] = [ + const FSTYPE_IGNORE: [&str; 9] = [ "tmpfs", + "ramfs", "swap", "devtmpfs", "devpts",