Android 6.0 storage directory SD card storage path creation details

Android 6.0 storage directory SD card storage path creation

preface:

I had been wondering when the SD card path under the SD card mounting storage on Android 6.0 was created.

Because the publicvolume on which the SD card is mounted is responsible for creating the mount path and then mounting.

Next, several fuse paths will be created, as follows:

1./mnt/runtime/default/ 2./mnt/runtime/read/ 3./mnt/runtime/write/

Then, the mount path will be fused to the above paths.

However, the SD card path under storage / has not been created, and the domount function under publicvolume only sets mpath to storage /... This path has not been created.

Later, I finally found the following sentence in init.rc

It adds / MNT / Runtime / default mount to storage, so the problem can be solved.

It's just strange why you do this. You usually create directories or create soft links. There are few such methods, so I didn't think about this place. It took a long time to find out.

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>