Skip to content
Advertisement

Tag: android-source

Meaning of mkdir parameters in Android init.rc

I am trying to understand the following commands: mkdir /data 0770 root system mkdir /data 0770 system system mkdir /data 0770 system room https://android.googlesource.com/platform/system/core/+/b4d65399fde02280b718e3b5b5cb1464a885c4b0/rootdir/init.rc Line 58 mkdir is creating the directory, /data is path, 0770 giving read write permissions to the directory, root system I don’t know. Answer The format is The path defines which directory has to be created.

Advertisement