From 86b43d2ca32c71f1538bdffa8483dbb6fa7820de Mon Sep 17 00:00:00 2001 From: Paul Sladen Date: Thu, 26 Mar 2009 22:40:37 +0200 Subject: [PATCH] restore --root and fix README --- README | 2 +- src/ifuse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 2a2ff09..1cd3302 100644 --- a/README +++ b/README @@ -50,7 +50,7 @@ Currently ifuse (via the AFC protocol) only gives access to the if the device has been jailedbreaked a full view of the iPhone's filesystem will be available with the following command - ./mount.fuse.ifuse --afc + ./mount.fuse.ifuse --root ==== Setting up FUSE ==== diff --git a/src/ifuse.c b/src/ifuse.c index f2acc78..4f89cae 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -324,7 +324,7 @@ static int ifuse_opt_proc(void *data, const char *arg, int key, struct fuse_args case FUSE_OPT_KEY_OPT: if (strcmp(arg, "allow_other") == 0 || strcmp(arg, "-d") == 0 || strcmp(arg, "-s") == 0) return 1; - else if (strcmp(arg, "--afc2") == 0) { + else if (!strcmp(arg, "--root") || !strcmp(arg, "--afc2")) { ifuse_oper.init = ifuse_init_jailbroken; return 0; } else -- 1.6.0.4