On Tue, Mar 08, 2016 at 01:52:13PM -0300, Marco Viggiano wrote:
> 
> On 8 March 2016 at 13:32, Isaac Dunham <[email protected]> wrote:
> > On Tue, Mar 08, 2016 at 07:56:09AM +0100, Tito wrote:
> >>
> >>
> >> On 03/08/2016 07:27 AM, Marco Viggiano wrote:
> >> >Hi there, I have busybox 1.24.1 running on CyanogenMod 13.0 (android
> >> >6.0.1) on a Nexus 10. I have successfully mounted a cifs share from my
> >> >NAS vía:
> >> >
> >> >busybox mount -t cifs -v -o user=username,pass=password
> >> >//192.168.5.3/Downloads /sdcard/NAS/Downloads
> >> >
> >> >but i can only see the contents of the mount in the same terminal I
> >> >created it. other android apps/terminals can't see them.
> >> >
> >> if you use SuperSU, disable "Mount namespace separation" in settings.
> >
> >
> > If mount namespace separation is the problem, try the option 'shared';
> > in your example, it would be:
> >         busybox mount -t cifs -v -o user=username,pass=password,shared \
> >                 //192.168.5.3/Downloads /sdcard/NAS/Downloads
>
> invalid argument on the 'shared'

Hmm...
I'm not seeing a way that the literal output 'invalid argument' is possible
for mount, though it does "wrong fs type, bad option, ..." if you pass an
unsupported option.

Sounds like your busybox is built without CONFIG_FEATURE_MOUNT_FLAGS=y;
asking whoever built it to enable that option would be the next step.
If 'bbconfig' is enabled, 
 busybox bbconfig |grep MOUNT_FLAGS
should tell you for sure.

I can also tell that either you're using a uclibc static binary, or busybox
is built from CM's tree (probably the latter); CM apparently has a bunch of
patches to support bionic that they haven't upstreamed yet.

HTH,
Isaac
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to