summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-17 15:39:22 +0000
committerDenis Vlasenko2006-09-17 15:39:22 +0000
commit029c469934843580a3b28e9d863d0a4ecbde72eb (patch)
treed819293750457f34f3197393af0cefabba728e16
parenta52145a9270f6cef5eb1e048283ce46fc6e67a4b (diff)
downloadbusybox-029c469934843580a3b28e9d863d0a4ecbde72eb.zip
busybox-029c469934843580a3b28e9d863d0a4ecbde72eb.tar.gz
mount: revert mount --bind to using "bind" as fstype.
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 8ebf626..81357a3 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -277,7 +277,7 @@ static int mount_it_now(struct mntent *mp, int vfsflags, char *filteropts)
fsname = 0;
if (!mp->mnt_type || !*mp->mnt_type) { /* bind mount */
mp->mnt_fsname = fsname = bb_simplify_path(mp->mnt_fsname);
- mp->mnt_type = "none";
+ mp->mnt_type = "bind";
}
mp->mnt_freq = mp->mnt_passno = 0;