[Gen9 Android Development] Quallenauge:
Thanks trevd for your observations.

I saw some documentation and I have an idea what the makefiles do, but if I want to go into detail I would not be able to release a version this year again ;) Anyway thanks for the link!

I also had tried to define the SECONDARY_STORAGE with no luck. I think I have missed something....

But vold is mounting the sdcard into /storage/sdcard1. I'm also able to access this directory.

But today I saw the following.

When I make a

>df
/ 503.9M 432.2M 71.8M 4096
/dev 446.7M 48K 446.7M 4096
/mnt/system 277.1M 10M 267.1M 1024
/data 13.8G 1.5G 12.3G 4096
/ 503.9M 432.2M 71.8M 4096
/dev 446.7M 48K 446.7M 4096
/storage 446.7M 0K 446.7M 4096
/tmp 446.7M 0K 446.7M 4096
/mnt/secure 446.7M 0K 446.7M 4096
/mnt/asec 446.7M 0K 446.7M 4096
/mnt/obb 446.7M 0K 446.7M 4096
/mnt/rawfs 31.8M 19.2M 12.6M 512
/mnt/system 277.1M 10M 267.1M 1024
/data 13.8G 1.5G 12.3G 4096
/mnt/shell/emulated 13.8G 1.5G 12.3G 4096
/storage/sdcard1 14.4G 96K 14.4G 32768

When I do this in the terminal app the mount point doesn't appear here:

Filesystem Size Used Free Blksize
/ 503.9M 432.2M 71.8M 4096
/dev 446.7M 48K 446.7M 4096
/mnt/system 277.1M 10M 267.1M 1024
/data 13.8G 1.5G 12.3G 4096
/ 503.9M 432.2M 71.8M 4096
/dev 446.7M 48K 446.7M 4096
/storage 446.7M 0K 446.7M 4096
/storage/emulated 446.7M 0K 446.7M 4096
/tmp 446.7M 0K 446.7M 4096
/mnt/secure 446.7M 0K 446.7M 4096
/mnt/asec 446.7M 0K 446.7M 4096
/mnt/obb 446.7M 0K 446.7M 4096
/mnt/rawfs 31.8M 19.2M 12.6M 512
/mnt/system 277.1M 10M 267.1M 1024
/data 13.8G 1.5G 12.3G 4096
/mnt/shell/emulated 13.8G 1.5G 12.3G 4096
/storage/emulated/0 13.8G 1.5G 12.3G 4096
/storage/emulated/0/Android/obb 13.8G 1.5G 12.3G 4096
/storage/emulated/legacy 13.8G 1.5G 12.3G 4096
/storage/emulated/legacy/Android/obb 13.8G 1.5G 12.3G 4096

Zygote seems to not use/see (due the namespaces thing) this folder as mount point.

127|root@android:/ # cat /proc/`pidof android.process.media`/mountinfo
117 112 7:0 / / rw,noatime - ext4 /dev/loop0 rw,user_xattr,barrier=1,data=ordered
118 117 0:14 / /dev rw,nosuid,relatime - tmpfs tmpfs rw,mode=755
119 118 0:10 / /dev/pts rw,relatime - devpts devpts rw,mode=600
120 118 0:20 / /dev/cpuctl rw,relatime - cgroup none rw,cpu
121 117 0:3 / /proc rw,relatime - proc proc rw
122 121 0:12 / /proc/bus/usb rw,relatime - usbfs usbfs rw,devuid=1000,busuid=1000,listuid=1000
123 117 0:13 / /sys rw,relatime - sysfs sysfs rw
124 123 0:6 / /sys/kernel/debug rw,relatime - debugfs /sys/kernel/debug rw
125 117 0:15 / /storage rw,relatime - tmpfs tmpfs rw,mode=050,gid=1028
126 125 0:22 / /storage/emulated rw,nosuid,nodev,relatime - tmpfs tmpfs rw,mode=050,gid=1028
127 117 0:16 / /tmp rw,relatime - tmpfs tmpfs rw,mode=775,gid=1000
128 117 0:17 / /mnt/secure rw,relatime - tmpfs tmpfs rw,mode=700
129 117 0:18 / /mnt/asec rw,relatime - tmpfs tmpfs rw,mode=755,gid=1000
130 117 0:19 / /mnt/obb rw,relatime - tmpfs tmpfs rw,mode=755,gid=1000
131 117 179:1 / /mnt/rawfs rw,relatime - rawfs /dev/block/mmcblk0p1 rw
132 117 179:2 / /mnt/system rw,nosuid,noexec,noatime - ext4 /dev/block/mmcblk0p2 rw,user_xattr,barrier=1,data=ordered
133 117 179:4 / /data rw,nosuid,noatime - ext4 /dev/block/mmcblk0p4 rw,user_xattr,barrier=1,data=ordered
134 117 0:21 / /mnt/shell/emulated rw,nosuid,nodev,relatime - fuse /dev/fuse rw,user_id=1023,group_id=1023,default_permissions,allow_other
135 126 0:21 /0 /storage/emulated/0 rw,nosuid,nodev,relatime - fuse /dev/fuse rw,user_id=1023,group_id=1023,default_permissions,allow_other
136 135 0:21 /obb /storage/emulated/0/Android/obb rw,nosuid,nodev,relatime - fuse /dev/fuse rw,user_id=1023,group_id=1023,default_permissions,allow_other
137 126 0:21 /0 /storage/emulated/legacy rw,nosuid,nodev,relatime - fuse /dev/fuse rw,user_id=1023,group_id=1023,default_permissions,allow_other
138 137 0:21 /obb /storage/emulated/legacy/Android/obb rw,nosuid,nodev,relatime - fuse /dev/fuse rw,user_id=1023,group_id=1023,default_permissions,allow_other

Can you please give some output from your galaxy device? Maybe we get a hint...