From: Rob Landley Date: Wed, 5 Apr 2006 01:43:39 +0000 (-0000) Subject: Kumar spotted another bug: if we autodetect nfs and they haven't specified the X-Git-Tag: 1_2_0~582 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19af279d169d78f1c6dbe7dd22b051c2eabec0c5;p=oweals%2Fbusybox.git Kumar spotted another bug: if we autodetect nfs and they haven't specified the fstype, it should be set to nfs. --- 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);