From 19af279d169d78f1c6dbe7dd22b051c2eabec0c5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 5 Apr 2006 01:43:39 +0000 Subject: [PATCH] Kumar spotted another bug: if we autodetect nfs and they haven't specified the fstype, it should be set to nfs. --- util-linux/mount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util-linux/mount.c b/util-linux/mount.c index ba55d2480..68f483555 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -284,6 +284,7 @@ static int singlemount(struct mntent *mp) return 1; } else { // Strangely enough, nfsmount() doesn't actually mount() anything. + mp->mnt_type = "nfs"; rc = mount_it_now(mp, vfsflags, filteropts); if (ENABLE_FEATURE_CLEAN_UP) free(filteropts); -- 2.25.1