summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-04-07 21:47:09 +0200
committerYorhel <git@yorhel.nl>2020-04-08 18:32:11 +0200
commitc209b012b1b2fe474bb28eb352aefade4794d89d (patch)
tree7ac5febce6c4699ae7b12cfa91693155179026dd /doc
parent50b48a6435531ebcb7ddd5b50be3a71c0b3cdabb (diff)
Add option --exclude-kernfs to skip scanning Linux pseudo filesystems
(cherry picked from commit a076ac714aa6fb24e0e9eb227372df84a4b6000b)
Diffstat (limited to 'doc')
-rw-r--r--doc/ncdu.pod13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ncdu.pod b/doc/ncdu.pod
index 784500f..ad6783b 100644
--- a/doc/ncdu.pod
+++ b/doc/ncdu.pod
@@ -179,6 +179,15 @@ this option will not follow symlinks to directories and will count each
symlinked file as a unique file (i.e. unlike how hard links are handled). This
is subject to change in later versions.
+=item --exclude-kernfs
+
+Exclude Linux pseudo filesystems, e.g. /proc (procfs), /sys (sysfs).
+This option is only available on Linux, but exported statistics can be loaded on
+all platforms.
+
+The complete list of currently known pseudo filesystems is: binfmt, bpf, cgroup,
+cgroup2, debug, devpts, proc, pstore, security, selinux, sys, trace.
+
=back
@@ -307,6 +316,10 @@ File or directory is excluded from the statistics by using exlude patterns.
Directory is on another filesystem.
+=item ^
+
+Directory is excluded from the statistics due to being a Linux pseudo filesystem.
+
=item @
This is neither a file nor a folder (symlink, socket, ...).