Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]

From: David Howells
Date: Mon Aug 21 2006 - 08:13:52 EST


Ian Kent <raven@xxxxxxxxxx> wrote:

> That makes it a bit hard as the /net functionality that Andrew is using is
> meant to mount all exports from the given server.

But does it _matter_ that the thing is mounted or dismounted as a unit? And
if so, why?

> In v4 that are mounted and umounted as a unit to deal with the nesting.

Why does the automounter daemon have to do the mounting of submounts? What's
wrong with having the kernel do it? The one problem with having the kernel do
it that I can see, is that the kernel doesn't update /etc/mtab.


Note that rather than manually mounting the submounts, you could just open and
close those directories as that should cause them to automount - though the
xdev mountpoints will expire and become automatically unmounted after a
certain period.

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/