Skip to main content

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 to jbPath.

Description​

On roothide and rootless editions of XXTouch, this converts a jailbreak-root path back to its system-root equivalent (the inverse of jbroot).
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/')) -- /