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 ?

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
  • -a for --all and -v for --verbose also works. Oct 2 '17 at 21:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.