@Override
public JimfsPath relativize(Path other) {
JimfsPath otherPath = checkPath(other);
if (otherPath == null) {
throw new ProviderMismatchException(other.toString());
}
checkArgument(Objects.equal(root, otherPath.root),
"Paths have different roots: %s, %s", this, other);