dimanche 26 juillet 2015

[DEV] Using -mm option works temporarily



I'm using the -mm (master-mount) option (or trying to) to be able to link folders from internal to external SD. Unfortunately it doesn't seem to work in a 'permanent' way. Any new app started after the mount does not receive the mounted folders, only apps already running will receive it!?

Furthermore, I tried various ways of using the -mm command, but only one seem to work:

su -mm -c 'mount command here' < /dev/null

Running su -mm and piping the commands fails, eg does not mount anything, but no failure message!?
Running su -mm -c <script_path> < /dev/null fails., eg does not mount anything, but no failure message!?

I also tried to run within different context, but it changes nothing. App started after the mount won't see it.

@Chainfire, can you help me make it work? Maybe detail a little more the How-to on this subject, because I fail to find a working method and I don't see how to make it work.

The only way to make it work seems to disable mount namespace separations.

Thanks.



Aucun commentaire:

Enregistrer un commentaire