|
From: | erbenton |
Subject: | bug#21011: df utility bug |
Date: | Wed, 08 Jul 2015 01:39:25 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hi, The -x option of 'df' doesnt seem to work, when I exclude type sysfs it still includes it. I was trying to get around this annoying error using the -x option. e.g: > df df: ‘/sys/kernel/debug/tracing’: Permission denied Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4021028 16 4021012 1% /dev tmpfs 4034396 608 4033788 1% /dev/shm tmpfs 4034396 5488 4028908 1% /run /dev/sda3 237244096 37634248 187535508 17% / tmpfs 4034396 0 4034396 0% /sys/fs/cgroup tmpfs 4034396 5488 4028908 1% /var/run tmpfs 4034396 5488 4028908 1% /var/lock /dev/sda1 488613 85005 373861 19% /boot So, i used this to find the "type" > df -T /sys Filesystem Type 1K-blocks Used Available Use% Mounted on sysfs sysfs 0 0 0 - /sys and this to try and exclude sysfs: > df -x sysfs df: ‘/sys/kernel/debug/tracing’: Permission denied Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4021028 16 4021012 1% /dev tmpfs 4034396 608 4033788 1% /dev/shm tmpfs 4034396 5488 4028908 1% /run /dev/sda3 237244096 37634244 187535512 17% / tmpfs 4034396 0 4034396 0% /sys/fs/cgroup tmpfs 4034396 5488 4028908 1% /var/run tmpfs 4034396 5488 4028908 1% /var/lock /dev/sda1 488613 85005 373861 19% /b But it doesnt work, it still includes sysfs -- Eric Benton Olympia WA KG7RYU Buy a man a beer and he will waste an hour....... Teach that man how to brew beer and he will waste a lifetime. You're a funny guy Sully, I like you. That's why I'm going to kill you last. Turkey Creek Jack Johnson: Nobody move! Doc Holliday: Nonsense. By all means, move. *Each generation must pass liberty on to the next generation. If we fail, that is on us. |
[Prev in Thread] | Current Thread | [Next in Thread] |