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.
> >
> >I don't know if this is the kind of help I can receive from this
> >mailing list, if it isn't, I'm sorry to bother you. If it is, I
> >welcome the help.
> >
> >Best regards,
> >
> >
> Hi,
> 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

'shared' allows you to mount a mountpoint so that it's visible across
mount namespaces.
'private' (the default, except with systemd + util-linux) mounts it so
it's visible only in the current namespace.

HTH,
Isaac Dunham


If you add the prefix 'r', 
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to