Bug 3469

Summary: busybox mount does not understand --rbind option
Product: Busybox Reporter: Michael Tokarev <mjt+busybox>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.18.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: patch for the issue

Description Michael Tokarev 2011-03-09 21:36:49 UTC
This is recursive --bind.  Patch is attached.

While at it, rename MS_RECURSIVE to MS_REC -- this is its official definition as used in linux kernel and strace and other tools.

See also http://bugs.debian.org/450895

Thanks!
Comment 1 Michael Tokarev 2011-03-09 23:12:49 UTC
Created attachment 3145 [details]
patch for the issue
Comment 2 Denys Vlasenko 2011-05-09 01:19:06 UTC
Fixed in git, will be in 1.19.x:

commit 19311bfa7b8e8c6effa9c375de9b0eb4338bee12
Author: Roman Borisov <ext-roman.borisov@nokia.com>
Date:   Thu Mar 24 15:08:43 2011 +0300

    mount: add --rbind option support

    Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com>