{"id":51,"date":"2013-11-13T14:54:59","date_gmt":"2013-11-13T14:54:59","guid":{"rendered":"http:\/\/linux.mycustomcycle.com\/?p=51"},"modified":"2015-02-19T19:35:29","modified_gmt":"2015-02-19T19:35:29","slug":"android-mount","status":"publish","type":"post","link":"http:\/\/linux.suriyasuneel.com\/?p=51","title":{"rendered":"Android mount"},"content":{"rendered":"<pre>$ adb -d shell\r\n$ mount\r\nmount\r\nrootfs \/ rootfs ro,relatime 0 0\r\ntmpfs \/dev tmpfs rw,relatime,mode=111 0 0\r\ndevpts \/dev\/pts devpts rw,relatime,mode=600 0 0\r\nproc \/proc proc rw,relatime 0 0\r\nsysfs \/sys sysfs rw,relatime 0 0\r\nnone \/acct cgroup rw,relatime,cpuacct 0 0\r\ntmpfs \/mnt\/asec tmpfs rw,relatime,mode=755,gid=1000 0 0\r\ntmpfs \/mnt\/obb tmpfs rw,relatime,mode=755,gid=1000 0 0\r\ntmpfs \/mnt\/usb tmpfs rw,relatime,mode=755,gid=1000 0 0\r\ntmpfs \/app-cache tmpfs rw,relatime,size=7168k 0 0\r\nnone \/dev\/cpuctl cgroup rw,relatime,cpu 0 0\r\n\/dev\/block\/mmcblk0p9 \/system ext4 ro,relatime,barrier=1,data=ordered 0 0\r\n\/dev\/block\/mmcblk0p7 \/cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered\r\n\/dev\/block\/mmcblk0p1 \/efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0\r\nnil \/sys\/kernel\/debug debugfs rw,relatime 0 0\r\n\/dev\/block\/mmcblk0p10 \/data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,\r\n\/dev\/block\/mmcblk0p4 \/mnt\/.lfs j4fs rw,relatime 0 0\r\n\/dev\/block\/vold\/179:11 \/mnt\/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,n\r\nepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0\r\nI followed this link and tried to mount the filesystem as follows but I got a permission error.\r\n\r\n$ mount -o rw,remount -t yaffs2 \/dev\/block\/mmcblk0p9 \/system\r\nmount: Operation not permitted \r\n\r\nadb push foo.txt \/sdcard\/foo.txt<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$ adb -d shell $ mount mount rootfs \/ rootfs ro,relatime 0 0 tmpfs \/dev tmpfs rw,relatime,mode=111 0 0 devpts \/dev\/pts devpts rw,relatime,mode=600 0 0 proc \/proc proc rw,relatime 0 0 sysfs \/sys sysfs rw,relatime 0 0 none \/acct cgroup rw,relatime,cpuacct 0 0 tmpfs \/mnt\/asec tmpfs rw,relatime,mode=755,gid=1000 0 0 tmpfs \/mnt\/obb tmpfs rw,relatime,mode=755,gid=1000 0 0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/51"}],"collection":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":1,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":52,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/52"}],"wp:attachment":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}