projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e104d5f
)
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
author
Rob Landley
<rob@landley.net>
Wed, 5 Apr 2006 01:43:39 +0000
(
01:43
-0000)
committer
Rob Landley
<rob@landley.net>
Wed, 5 Apr 2006 01:43:39 +0000
(
01:43
-0000)
fstype, it should be set to nfs.
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index ba55d2480159a8b2c17f937950b5eb30c2d0b789..68f48355539e41ecee669e75938e3fb4bf3b67a8 100644
(file)
--- 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);