[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: replacement for old /etc/mtab that lists only real filesystems like ext4 or fat



On Thursday 11 February 2016 22:25:31 Jan Gregor wrote:
> Hello,
> 
>   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.
> 
> Thanks,
> Jan

A small utility, if it does not already exist, to do this would be nice.

Meanwhile cat /proc/mounts | grep ...
may get what we want :-)


Reply to: