how to create create directory in android file system

417 views
Skip to first unread message

akhilesh kumar

unread,
May 27, 2010, 8:15:17 AM5/27/10
to android-porting

Hi All 
 
how to create create  directory in android file system, I am getting the following error.   
 
[root@localhost ]# adb shell
#su
# mkdir /lib
mkdir failed for /lib, Read-only file system
#   
 
--
Thanks,
Patel

Ashwin Bihari

unread,
May 27, 2010, 8:18:02 AM5/27/10
to android-porting
How about telling us where your RFS is located? What your bootargs are..

Remember the more information the provide, the better the answer..

-- Ashwin

> --
> unsubscribe: android-porti...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

Subramani Venkatesh

unread,
May 27, 2010, 11:03:24 AM5/27/10
to akhi...@gmail.com, android-porting
Hi,
Why do you need to create new lib, which is already a softlink to /system/lib, you have no permissions to create new file or folder on root as long as you edit your init.rc file.
If at all you want to create new file or folder, consider using /data or something that has user permissions.

-Subbu

On Thu, May 27, 2010 at 8:15 AM, akhilesh kumar <akhi...@gmail.com> wrote:
--
Reply all
Reply to author
Forward
0 new messages