On Thu, Feb 27, 2014 at 5:11 PM, mastermind <[email protected]> wrote:
> When I open mounted directory (using opendir() function), I see only two
> files: "." and "..". Looks like itsn't mounted but other proccesses see
> files! How this could be???
>

Linux (and Android) supports per-process namespaces. Execute

cat /proc/<PID>/mounts

where <PID> is your app's PID to check what is sees.

Also do not use /storage/emaulted as mount point, it has a rather
weird behaviour in recent Android versions in order to support
isolated shared storage for multiple users, emulation and what not.
If you have root access, create a mount point under /data and use that.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to