diff options
| author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-17 15:39:22 +0000 |
|---|---|---|
| committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-17 15:39:22 +0000 |
| commit | 161b4d79b1fcd5bc83fe91cd1caa872b1d8e19ed (patch) | |
| tree | d819293750457f34f3197393af0cefabba728e16 | |
| parent | 46ec6c961e9f2d8b42420a0aeed4143a8878e343 (diff) | |
| download | busybox-w32-161b4d79b1fcd5bc83fe91cd1caa872b1d8e19ed.tar.gz busybox-w32-161b4d79b1fcd5bc83fe91cd1caa872b1d8e19ed.tar.bz2 busybox-w32-161b4d79b1fcd5bc83fe91cd1caa872b1d8e19ed.zip | |
mount: revert mount --bind to using "bind" as fstype.
git-svn-id: svn://busybox.net/trunk/busybox@16139 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 8ebf626cb..81357a33e 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) | |||
| 277 | fsname = 0; | 277 | fsname = 0; |
| 278 | if (!mp->mnt_type || !*mp->mnt_type) { /* bind mount */ | 278 | if (!mp->mnt_type || !*mp->mnt_type) { /* bind mount */ |
| 279 | mp->mnt_fsname = fsname = bb_simplify_path(mp->mnt_fsname); | 279 | mp->mnt_fsname = fsname = bb_simplify_path(mp->mnt_fsname); |
| 280 | mp->mnt_type = "none"; | 280 | mp->mnt_type = "bind"; |
| 281 | } | 281 | } |
| 282 | mp->mnt_freq = mp->mnt_passno = 0; | 282 | mp->mnt_freq = mp->mnt_passno = 0; |
| 283 | 283 | ||
