-f Causes everything to be done except for the actual system call;
if it's not obvious, this ``fakes'' mounting the file system.
This option is useful in conjunction with the -v flag to deter‐
mine what the mount command is trying to do. It can also be used
to add entries for devices that were mounted earlier with the -n option. The -f option checks for existing record in /etc/mtab
and fails when the record already exists (with regular non-fake mount, this check is done by kernel).
It's one of the standard options that util-linux-ng will always pass to its helper. Others include -s, -n, -v and -o
If this is hard to add to ecryptfs, I can ensure mount never calls mount.ecryptfs
Dustin: in the mount manpage:
-f Causes everything to be done except for the actual system call;
option. The -f option checks for existing record in /etc/mtab
mount, this check is done by kernel).
if it's not obvious, this ``fakes'' mounting the file system.
This option is useful in conjunction with the -v flag to deter‐
mine what the mount command is trying to do. It can also be used
to add entries for devices that were mounted earlier with the -n
and fails when the record already exists (with regular non-fake
It's one of the standard options that util-linux-ng will always pass to its helper. Others include -s, -n, -v and -o
If this is hard to add to ecryptfs, I can ensure mount never calls mount.ecryptfs