==> Regarding [autofs] autofs looks up wrong path element metoo and /net
question; [EMAIL PROTECTED] adds:
devnull> Ian, list. Fedora Core 2
devnull> /usr/sbin/automount -V Linux automount version 4.1.4
So you built your own? OK.
devnull> I am running automount with /usr/sbin/automount --ghost -v --debug
devnull> uname -r 2.6.7 / 2.4.31
Again, your own kernel? Ian posted a kernel patch to fix the issue. You
probably want to grab that, though I can't find a pointer to it at the
moment. I've attached the equivalent patch that went into RHEL3, for
reference.
-Jeff
--- linux-2.4.21/fs/autofs4/root.c.orig 2005-05-31 09:31:16.097321176 -0400
+++ linux-2.4.21/fs/autofs4/root.c 2005-05-31 09:31:19.816755736 -0400
@@ -301,7 +301,14 @@ static int try_to_fill_dentry(struct den
DPRINTK(("try_to_fill_entry: expire done status=%d\n", status));
- return 0;
+ /*
+ * If the directory still exists the mount request must
+ * continue otherwise it can't be followed at the right
+ * time during the walk.
+ */
+ status = d_invalidate(dentry);
+ if (status != -EBUSY)
+ return 0;
}
DPRINTK(("try_to_fill_entry: dentry=%p %.*s ino=%p\n",
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs