Re: replacement for old /etc/mtab that lists only real filesystems like ext4 or fat
Jan Gregor composed on 2016-02-11 22:25 (UTC+0100):
> I used /etc/mtab to list mounted filesystems with their mount options.
> Unfortunatelly /etc/mtab no longer exists in debian jessie, it is just
> symlink to /proc/mounts that lists 31 filesystems and I want to see just 2
> :-) classic filesystems like ext4, fat, btrfs only.
alias Mnt='mount | grep -v cgroup | grep -v tmpfs | grep -v ^sys | grep -v
"on /dev" | grep -v "on /proc" | grep -v "on /sys" | grep -v "on /var" | sort'
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
Reply to: