On Mon, 21 Aug 2006, David Howells wrote: > > The NFS client's automounting facilities handle automatic expiration and > implicit recursive unmounting of xdev submounts. > > For example, on my test machine: > > [root@andromeda ~]# /root/mount warthog:/ /warthog -o fsc > [root@andromeda ~]# ls /warthog/warthog > [root@andromeda ~]# cat /proc/mounts > ... > warthog:/ /warthog nfs rw,vers=3,rsize=32768,wsize=32768,hard,fsc,proto=tcp,timeo=600,retrans=2,sec=sys,addr=warthog 0 0 > warthog:/warthog /warthog/warthog nfs rw,vers=3,rsize=32768,wsize=32768,hard,fsc,proto=tcp,timeo=600,retrans=2,sec=sys,addr=warthog 0 0 > [root@andromeda ~]# umount /warthog/ > [root@andromeda ~]# > > The "ls" command caused the client to mount warthog:/warthog off of the server > onto /warthog/warthog automatically. I was then able to just unmount > /warthog, which took away /warthog/warthog also without me having to do > anything special. > This is going to be fun after all. There isn't any way to tell a nohide from a non-nohide mount from the expots list. There are inconsistencies with the contents of /proc/mounts between OS versions (perhaps kernel version). There is no way to tell a nohide mounted filesystem from the output of /proc/mounts if it does happen to appear in it. *sigh* Ian - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: Trond Myklebust <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- References:
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: Ian Kent <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: Ian Kent <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: Ian Kent <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: Andrew Morton <[email protected]>
- [PATCH] NFS: Replace null dentries that appear in readdir's list
- From: David Howells <[email protected]>
- Re: [PATCH] NFS: Revalidate on readdir referring to null dentry
- From: Trond Myklebust <[email protected]>
- Re: 2.6.18-rc4-mm1
- From: Andrew Morton <[email protected]>
- 2.6.18-rc4-mm1
- From: Andrew Morton <[email protected]>
- [PATCH] NFS: Revalidate on readdir referring to null dentry
- From: David Howells <[email protected]>
- [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: David Howells <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: David Howells <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: David Howells <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: David Howells <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- From: David Howells <[email protected]>
- Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- Prev by Date: Re: [RFC] [PATCH] file posix capabilities
- Next by Date: Re: [2.6 patch] re-add -ffreestanding
- Previous by thread: Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- Next by thread: Re: [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2]
- Index(es):