On Sat, Jan 07, 2012 at 04:03:26PM +0100, Stef Bon wrote: > Futher, the FUSE fs knows it's own mountpoint. (ignore the submounts > on a FUSE fs here), it can filter out the watches which are set on the > fs. BTW, how does FUSE fs know its mountpoint? Other than "my fs won't be mounted other than <here> and if you mount it elsewhere, it's your problem" I don't see any possible way to do that... Note that no information about the intended mountpoint reaches fuse_mount() (and it would've been useless there anyway, since mountpoint can change at literally zero notice, so the userland side of FUSE would have no use for it), which leaves only the apriori knowledge ("my code assumes that it'll be mounted here, violate that assumption at your peril")... -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html