what is the best approach to check all mount point are mounted according to fstab file
my target is to check that all mountpoint as defined in fstab are really mounted
what is the command for this ?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
mount --fake --verbose --all
For currently mounted devices the output will contain "already mounted".
Options explained (for exact details see
man 8 mount):
--fake: mount command will not actually mount anything
--verbose: provide detailed output
--all: mount all devices listed in fstab