+ opts = talloc_strdup(NULL, "ro,nolock,nodiratime");
+
+ if (url->port)
+ opts = talloc_asprintf_append(opts, ",port=%s", url->port);
+
+ result = process_run_simple(ctx, pb_system_apps.mount, "-t", "nfs",
+ opts, url->host, url->dir, local, NULL);
+
+ talloc_free(opts);
+
+ if (result)
+ goto fail;
+
+ local = talloc_asprintf_append(local, "/%s", url->path);
+ pb_log("%s: local '%s'\n", __func__, local);
+
+ return local;
+
+fail:
+ pb_rmdir_recursive("/", local);
+ talloc_free(local);
+ return NULL;