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

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



> >   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.

Perhaps
  df -PTl  | egrep '^(/|Filesystem)'
or
  df -PT -x nfs -x devtmpfs -x tmpfs
or
  df -PTl -x devtmpfs -x tmpfs

-- 
Cheers,
Clive


Reply to: