K
K
krll-k2015-02-12 23:14:12
linux
krll-k, 2015-02-12 23:14:12

How to properly mount the second partition on a microsd card?

I included a gig card from my raspberry pi in my android. There are two sections, but mount only the first one on 59mb (there is rasbian's configuration information). How can I mount the second partition in read-only mode (I want to use my raspberry programs under charoot)?

127|[email protected]:/ # df
Filesystem             Size   Used   Free   Blksize
/dev                   322M    84K   322M   4096
/mnt/asec              322M     0K   322M   4096
/mnt/obb               322M     0K   322M   4096
/system                  1G   850M   300M   4096
/data                    1G     1G   437M   4096
/persist                 7M     4M     3M   4096
/cache                 492M     8M   483M   4096
/efs                    11M     4M     7M   4096
/mnt/sdcard              1G     1G   337M   4096
/mnt/sdcard/Android/data/ru.gameland.xakep     1G   685M     1G   32768
/mnt/extSdCard          55M     9M    46M   8192
[email protected]:/ # ls /dev/block/
loop0       loop5       mmcblk0p10  mmcblk0p15  mmcblk0p2   mmcblk0p24  mmcblk0p6   platform/
loop1       loop6       mmcblk0p11  mmcblk0p16  mmcblk0p20  mmcblk0p25  mmcblk0p7   vold/
loop2       loop7       mmcblk0p12  mmcblk0p17  mmcblk0p21  mmcblk0p3   mmcblk0p8   zram0
loop3       mmcblk0     mmcblk0p13  mmcblk0p18  mmcblk0p22  mmcblk0p4   mmcblk0p9
loop4       mmcblk0p1   mmcblk0p14  mmcblk0p19  mmcblk0p23  mmcblk0p5   param
[email protected]:/ # ls /dev/block/
loop0       loop6       mmcblk0p12  mmcblk0p18  mmcblk0p23  mmcblk0p6   mmcblk1p2
loop1       loop7       mmcblk0p13  mmcblk0p19  mmcblk0p24  mmcblk0p7   param
loop2       mmcblk0     mmcblk0p14  mmcblk0p2   mmcblk0p25  mmcblk0p8   platform/
loop3       mmcblk0p1   mmcblk0p15  mmcblk0p20  mmcblk0p3   mmcblk0p9   vold/
loop4       mmcblk0p10  mmcblk0p16  mmcblk0p21  mmcblk0p4   mmcblk1     zram0
loop5       mmcblk0p11  mmcblk0p17  mmcblk0p22  mmcblk0p5   mmcblk1p1
[email protected]:/ # ls /dev/block/
loop0       loop6       mmcblk0p12  mmcblk0p18  mmcblk0p23  mmcblk0p6   mmcblk1p2
loop1       loop7       mmcblk0p13  mmcblk0p19  mmcblk0p24  mmcblk0p7   param
loop2       mmcblk0     mmcblk0p14  mmcblk0p2   mmcblk0p25  mmcblk0p8   platform/
loop3       mmcblk0p1   mmcblk0p15  mmcblk0p20  mmcblk0p3   mmcblk0p9   vold/
loop4       mmcblk0p10  mmcblk0p16  mmcblk0p21  mmcblk0p4   mmcblk1     zram0
loop5       mmcblk0p11  mmcblk0p17  mmcblk0p22  mmcblk0p5   mmcblk1p1
[email protected]:/ # ls /dev/block/vold/179\:
179:32 179:33 179:64 179:65 179:66
[email protected]:/ # ls /dev/block/vold/179\:
179:32 179:33 179:64 179:65 179:66
[email protected]:/ # ls /dev/block/vold/179\:
179:32 179:33 179:64 179:65 179:66
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 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
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p16 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p25 /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p11 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p17 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0/dev/block/mmcblk0p19 /efs ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/sdcard/Android/data/ru.gameland.xakep vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ # df
Filesystem             Size   Used   Free   Blksize
/dev                   322M    84K   322M   4096
/mnt/asec              322M     0K   322M   4096
/mnt/obb               322M     0K   322M   4096
/system                  1G   850M   300M   4096
/data                    1G     1G   437M   4096
/persist                 7M     4M     3M   4096
/cache                 492M     8M   483M   4096
/efs                    11M     4M     7M   4096
/mnt/sdcard              1G     1G   337M   4096
/mnt/sdcard/Android/data/ru.gameland.xakep     1G   685M     1G   32768
[email protected]:/ #

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vftdan, 2015-10-10
@Vftdan

Ruth is worth it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question