diff options
author | Rob Landley <rob@landley.net> | 2006-04-05 05:43:39 +0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-04-05 05:43:39 +0400 |
commit | 19af279d169d78f1c6dbe7dd22b051c2eabec0c5 (patch) | |
tree | 037d15d295d4fe76ee0937973079f24f798ce091 /util-linux | |
parent | e104d5fdcb72c0fd5df56e3bbbf18c1942bf936a (diff) |
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs.
Diffstat (limited to 'util-linux')
-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 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); |