Get system-root path for a jailbreak-root path (rootfs)
Declaration
sysRootPath = rootfs(jbPath)
Parameters
- jbPath
String. A path under the jailbreak root.
Returns
- sysRootPath
String. The system-root path corresponding tojbPath
.
Notes
On roothide and rootless editions of XXTouch, this converts the result of
jbroot
back to the system-root path.
On rootful or TrollStore editions, this simply returns the input parameter.
Available since version 1.3.8 or later.
Example
nLog(rootfs('/var/containers/Bundle/Application/.jbroot-XXXXXXXXXXXXXXXX/')) -- /