I am trying to use my ext4 sdcard properly in Stock rooted Android 4.4.4. For this, I run
mount -rw -t ext4 /dev/block/mmcblk1p1 /mnt/media_rw/sdcard1
and then
/system/bin/sdcard -u 1023 -g 1023 -w 1023 /mnt/media_rw/sdcard1 /storage/sdcard1
I also tried
/system/bin/sdcard /mnt/media_rw/sdcard1 /storage/sdcard1 1023 1023
The problem is that the ownership of the tree created in /storage/sdcard1
is then 0.1015 instead of 1023.1023 (??), so I have permission problems...
Any idea why the /system/bin/sdcard
command is not obeying the ownership flags?
Thanks!