Bug#616036: /bin/mount: /bin/mount: Fstab options causing failed mounts
This is due to the following code in upstream source
/* src/sbin/mount/mount.c */
#define BADTYPE(type) \
(strcmp(type, FSTAB_RO) && \
strcmp(type, FSTAB_RW) && strcmp(type, FSTAB_RQ))
/* A later test */
if (BADTYPE(fs->fs_type))
errx(1, "%s has unknown file system type", *argv);
In consequence, exactly one of "rw", "ro", or "rq" __must__
be present as file option, as soon as 'mount' is used with its
fstab-based invokation form. Here "rq" is read-write with quota.
It is not the wrapper which is casing the problem here, it is the
original executable pushed to /libexec/freebsd/mount that carries
an implicit assumption, different from the custom for GNU/Linux.
Reply to: