<rant> I *swear*, I may get aggravated enough to write a drh - d *real* h. Between C7, with all the /tmpfs, and this debian 18.04 that has a dozen /snap all showing up.... All I want it to display is physical drive partition space.... </rant>
mark
I might actually be able to have a workable answer:
alias drf='/usr/bin/df -x tmpfs'
On Thu, 23 May 2019 at 16:22, mark m.roth@5-cent.us wrote:
<rant> I *swear*, I may get aggravated enough to write a drh - d *real* h. Between C7, with all the /tmpfs, and this debian 18.04 that has a dozen /snap all showing up.... All I want it to display is physical drive partition space.... </rant>
mark
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Stephen John Smoogen wrote:
On Thu, 23 May 2019 at 16:22, mark m.roth@5-cent.us wrote:
<rant> I *swear*, I may get aggravated enough to write a drh - d *real* h. Between C7, with all the /tmpfs, and this debian 18.04 that has a dozen /snap all showing up.... All I want it to display is physical drive partition space.... </rant>
I might actually be able to have a workable answer:
alias drf='/usr/bin/df -x tmpfs'
Cool! It works on a C 7 box. Unfortunately, on the ubuntu box, it doesn't exclude /snap or loop or /dev/loopx....
Thanks.
mark
On Thu, 23 May 2019, Stephen John Smoogen wrote:
I might actually be able to have a workable answer:
alias drf='/usr/bin/df -x tmpfs'
/usr/bin/df \ -x autofs -x binfmt_misc -x cgroup -x configfs -x debugfs \ -x devpts -x devtmpfs -x efivarfs -x hugetlbfs -x mqueue \ -x nfsd -x proc -x pstore -x rpc_pipefs -x securityfs \ -x selinuxfs -x sysfs -x tmpfs
:-)
On Thu, 23 May 2019 at 16:43, Paul Heinlein heinlein@madboa.com wrote:
On Thu, 23 May 2019, Stephen John Smoogen wrote:
I might actually be able to have a workable answer:
alias drf='/usr/bin/df -x tmpfs'
/usr/bin/df \ -x autofs -x binfmt_misc -x cgroup -x configfs -x debugfs \ -x devpts -x devtmpfs -x efivarfs -x hugetlbfs -x mqueue \ -x nfsd -x proc -x pstore -x rpc_pipefs -x securityfs \ -x selinuxfs -x sysfs -x tmpfs
I guess the opposite would also work
/usr/bin/df -t ext3 -t ext4 -t xfs ?
:-)
-- Paul Heinlein heinlein@madboa.com 45°38' N, 122°6' W _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Thu, 23 May 2019, Stephen John Smoogen wrote:
On Thu, 23 May 2019 at 16:43, Paul Heinlein heinlein@madboa.com wrote:
On Thu, 23 May 2019, Stephen John Smoogen wrote:
I might actually be able to have a workable answer:
alias drf='/usr/bin/df -x tmpfs'
/usr/bin/df \ -x autofs -x binfmt_misc -x cgroup -x configfs -x debugfs \ -x devpts -x devtmpfs -x efivarfs -x hugetlbfs -x mqueue \ -x nfsd -x proc -x pstore -x rpc_pipefs -x securityfs \ -x selinuxfs -x sysfs -x tmpfs
I guess the opposite would also work
/usr/bin/df -t ext3 -t ext4 -t xfs ?
At $WORK, we'd have to add -t lustre -t nfs -t nfs4 -t vfat.