libmount originally had in the options map only options that are
possible to use in fstab. Now we use the map to verify and
classify all mount options, so MS_MOVE is necessary there too.
The patch also add a new MNT_NOFSTAB option flag, not used for now.
Signed-off-by: Karel Zak <kzak@redhat.com>
#define MNT_NOMTAB (1 << 2) /* skip in the mtab option string */
#define MNT_PREFIX (1 << 3) /* prefix used for some options (e.g. "x-foo") */
#define MNT_NOHLPS (1 << 4) /* don't add the option to mount.<type> helpers command line */
+#define MNT_NOFSTAB (1 << 5) /* not expected in fstab */
/**
* libmnt_fs:
#ifdef MS_NOSYMFOLLOW
{ "symfollow", MS_NOSYMFOLLOW, MNT_INVERT }, /* Don't follow symlinks */
{ "nosymfollow", MS_NOSYMFOLLOW },
+#endif
+#ifdef MS_MOVE
+ { "move", MS_MOVE, MNT_NOHLPS | MNT_NOMTAB | MNT_NOFSTAB }, /* --move */
#endif
{ NULL, 0, 0 }
};