sflanaga / du2

2 stars 0 forks source link

Should not scan procfs / sysfs #3

Open JustAPerson opened 4 years ago

JustAPerson commented 4 years ago

I ran du2 / to scan my whole computer

My results were a little skewed

Top largest file(s): 10
       127  TB /proc/kcore

Perhaps du2 shouldn't traverse /proc or /sys since these are just windows into the kernel state, and not actual data stored on a drive.

sflanaga commented 4 years ago

yeah... me too. thx for putting this here to remind me to give that issue some love.

sflanaga commented 4 years ago

In the interim, du2 / --exclude-re '^/proc/.*|^/sys/.*' is reasonable work around.