Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

user partition is not mounted on Linux

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 1/20/2015 15:19:09      1#

userdata partition is Android's data partition, which is not mounted under Linux by default.


You can edit "/lib/udev/rules.d/80-udisks2.rules", and remove the following line:

# automount only user partition of Android
KERNEL=="mmcblk0p[0-9]*", SUBSYSTEMS=="mmc", ENV{PARTNAME}!="user", ENV{UDISKS_IGNORE}="1"

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 1/20/2015 17:18:50      2#

It is not wrong. It is the expected behaviour, mounting all the recongizable partition automactically.


Use something like this:


# automount only user/data partition of Android

KERNEL=="mmcblk0p[0-9]*", SUBSYSTEMS=="mmc", ENV{PARTNAME}=="cache|metadata|system", ENV{UDISKS_IGNORE}="1"

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 1/20/2015 18:23:44      3#

I'm frustrated. From your kernel log, this is your partition now:


[    2.193665] mmc0: new HS200 MMC card at address 0001
[    2.193930] mmcblk0: mmc0:0001 AWMB3R 14.5 GiB
[    2.194255]  parameter: 0x000000000 -- 0x000400000 (4 MB)
[    2.194268]      uboot: 0x000400000 -- 0x000800000 (4 MB)
[    2.194277]       misc: 0x000800000 -- 0x000c00000 (4 MB)
[    2.194287]   resource: 0x000c00000 -- 0x001c00000 (16 MB)
[    2.194296]     kernel: 0x001c00000 -- 0x002c00000 (16 MB)
[    2.194305]       boot: 0x002c00000 -- 0x004c00000 (32 MB)
[    2.194313]   recovery: 0x004c00000 -- 0x006c00000 (32 MB)
[    2.194322]     backup: 0x006c00000 -- 0x00a000000 (52 MB)
[    2.194331]      cache: 0x00a000000 -- 0x012000000 (128 MB)
[    2.194340]     kpanic: 0x012000000 -- 0x012400000 (4 MB)
[    2.194348]     system: 0x012400000 -- 0x142400000 (4864 MB)
[    2.194357]   metadata: 0x142400000 -- 0x142800000 (4 MB)
[    2.194366]   userdata: 0x142800000 -- 0x1c2800000 (2048 MB)
[    2.194375]  linuxroot: 0x1c2800000 -- 0x286800000 (3136 MB)
[    2.194383]       user: 0x286800000 -- 0x3a3a00000 (4562 MB)


userdata and user partitiions are both used by Android. userdata is mounted on /data,

and user partition is mounted as internal storage.


Now that both userdata (/dev/mmcblk0p13) and user (/dev/mmcblk0p15) parittions are mounted.

What would you like to archieve?

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list