diff options
author | Rob Landley | 2006-04-05 01:43:39 +0000 |
---|---|---|
committer | Rob Landley | 2006-04-05 01:43:39 +0000 |
commit | 19af279d169d78f1c6dbe7dd22b051c2eabec0c5 (patch) | |
tree | 037d15d295d4fe76ee0937973079f24f798ce091 | |
parent | e104d5fdcb72c0fd5df56e3bbbf18c1942bf936a (diff) | |
download | busybox-19af279d169d78f1c6dbe7dd22b051c2eabec0c5.zip busybox-19af279d169d78f1c6dbe7dd22b051c2eabec0c5.tar.gz |
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs.
-rw-r--r-- | util-linux/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index ba55d24..68f4835 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); |