Mount a filesystem read-write
Android :
2010. 2. 9. 15:58
반응형
출처 : http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
Very often when you want to write files to a particular partition on ADP1, you will get a "Permission Denied" if the partition is mounted read-only.
To get around this, you need to mount the partition read-write. Typically this is done with /system partition
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
(Replace /dev/block/mtdblock3 & /system with appropriate device path and mount point, as obtained from cat /proc/mounts)
/ 를 rw로 하고 싶으면 이렇게 하면 된다.
mount -o rw,remount /
반응형
'Android' 카테고리의 다른 글
Android NDK에 STL 포팅한것 (0) | 2010.02.09 |
---|---|
cp on Android (0) | 2010.02.09 |
Hello World C program using Android Toolchain (0) | 2010.02.09 |