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

David Howells
2006-08-21T12:16:32Z

Ian Kent <raven@themaw.net> 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