mirror of
https://github.com/SL-RU/mmtui.git
synced 2025-03-04 00:14:45 +01:00
ignore ramfs
This commit is contained in:
parent
69c1ba8dbc
commit
0a052c9a4a
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue