3 ms·
From my .bashrc: alias dfx='df -x nfs -x none -x smbfs -x tmpfs -x cifs -x tmpfs -x fuse.sshfs -x devtmpfs -x squashfs'
by teddyh 2y ago
From my .bashrc:
alias dfx='df -x nfs -x none -x smbfs -x tmpfs -x cifs -x tmpfs -x fuse.sshfs -x devtmpfs -x squashfs'
- anttihaapala 2y agoand it almost works, does not get rid of efivars... needed to add `-x efivarfs` for that.
- teddyh 2y agoI also see that ”nfs4” is missing. Update: alias dfx='df -x nfs -x none -x smbfs -x tmpfs -x cifs -x tmpfs -x fuse.sshfs -x devtmpfs -x squashfs -x overlay -x efivars -x nfs4'
- jfreax 2y agoVery cool. Thanks for sharing! I added `-x overlay` too, to get rid of all the docker overlay mounts.
- Propelloni 2y agoI'll just throw out findmnt here. It does what mount and df do, only with more options and filters. It is part of mount -- IIRC today's mount just runs findmnt --mtab under the hood -- and therefore available on all modern Linux systems. I guess the article's author would have been happy with findmnt -s -D -e findmnt --fstab --df --evaluate