mount: revert mount --bind to using "bind" as fstype.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 17 Sep 2006 15:39:22 +0000 (15:39 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 17 Sep 2006 15:39:22 +0000 (15:39 -0000)
util-linux/mount.c

index 8ebf626cbf6b6446f160a80ba73f0f509eb992b0..81357a33e45024f05a0a8f1138cdf598f30df967 100644 (file)
@@ -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;