diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index e474eac483e5..8b600e1f8cba 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -398,7 +398,9 @@ main(int argc, char *argv[]) have_fstab = 1; mntfromname = mntbuf->f_mntfromname; } else if (argv[0][0] == '/' && - argv[0][1] == '\0') { + argv[0][1] == '\0' && + strcmp(fs->fs_vfstype, + mntbuf->f_fstypename) == 0) { fs = getfsfile("/"); have_fstab = 1; mntfromname = fs->fs_spec;