ads

samedi 5 septembre 2015

Using ext4 microsd



Hi,

I have a rooted Medion Livetab S10346 running KitKat and have a problem using an ext4-partition on a micro-sd card.

I created a mountpoint as /storage/ext4 (with uid u0_100 and gid sdcard_r) and as root I can mount the partition like this:


Code:


#mount -t ext4 /dev/block/mmcblk1p2 /storage/ext4

And I can use it as root without problems. Here is how the mount-point and the content look like:


Code:


#ls -ld /storage/ext4
drwxr-xr-x  u0_a100 u0_a100    2015-09-09 00:24  ext4

#ls -l /storage/ext4
-rw-r--r--  u0_a100 u0_a100  6 2015-09-06 00:24 bubba.txt
drw------- u0_a100 u0_a100    2015-09-06 00:23 lost+found


As you can see everything is owned by u0_a100 which is the usual non-root user-account on my device.

What I want to achieve is to use the ext4 partition from the non-root account, but this is where I run into problems:


Code:


>ls -ld /storage/ext4
drwxrwxrwx u0_a100  sdcard_r      2015-09-06 00:51  ext4

>ls -l /storage/ext4
(nothing)


So the mount is not visible from the non-root account, all I see is the mount-point.

What am I missing?



Aucun commentaire:

Enregistrer un commentaire