ignore ramfs

This commit is contained in:
Grimmauld 2025-01-27 18:48:53 +01:00
parent 69c1ba8dbc
commit 0a052c9a4a
No known key found for this signature in database

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",