[prev in list] [next in list] [prev in thread] [next in thread]
List: fuse-devel
Subject: Re: [fuse-devel] FUSE (u)mount problem on ARM
From: Miklos Szeredi <miklos () szeredi ! hu>
Date: 2011-08-26 10:41:18
Message-ID: 878vqg3169.fsf () tucsk ! pomaz ! szeredi ! hu
[Download RAW message or body]
"james sierp" <jsierp@ellex.com> writes:
>>Doing "./configure --disable-mtab" should work around these issues.
> That option is already specified.
Hmm, this appears to be a bug in libfuse. Patch appended.
Thanks,
Miklos
diff --git a/lib/mount.c b/lib/mount.c
index a159a14..be7b4cb 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -523,6 +523,7 @@ static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
}
#ifndef __NetBSD__
+#ifndef IGNORE_MTAB
if (geteuid() == 0) {
char *newmnt = fuse_mnt_resolve_path("fuse", mnt);
res = -1;
@@ -535,6 +536,7 @@ static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
if (res == -1)
goto out_umount;
}
+#endif /* IGNORE_MTAB */
#endif /* __NetBSD__ */
free(type);
free(source);
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic