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???

вторник, 25 февраля 2014 г., 19:21:05 UTC+4 пользователь mastermind написал:
>
> I've just mounted samba share to my Nexus 7 (CM 11) under root using 
> kernel module.
>
> Everything seems ok for applications (ES File Manager, Total Commander 
> etc), I see files and can read them, even "cat" command from shell works. 
> But I'm unable to read them from my app! Neither with native calls (open 
> sets errno to ENOENT) nor FileInputStream.
>
> I tried many names:
>
> /storage/emulated/0/mounted_folder/file.txt/storage/emulated/legacy/mounted_folder/file.txt/sdcard/mounted_folder/file.txt/mnt/shell/emulated/0/mounted_folder/file.txt
>
> with root privelegies, with read-write permissions and many other 
> variations, still no luck :(
>
> What am I missing?
>

-- 
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