lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1157518441.3066.18.camel@raven.themaw.net>
Date:	Wed, 06 Sep 2006 12:54:01 +0800
From:	Ian Kent <raven@...maw.net>
To:	Trond Myklebust <trond.myklebust@....uio.no>
Cc:	David Howells <dhowells@...hat.com>, Andrew Morton <akpm@...l.org>,
	torvalds@...l.org, steved@...hat.com,
	linux-fsdevel@...r.kernel.org, linux-cachefs@...hat.com,
	nfsv4@...ux-nfs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/7] Permit filesystem local caching and NFS superblock
	sharing [try #13]

On Tue, 2006-09-05 at 08:52 -0400, Trond Myklebust wrote:
> On Tue, 2006-09-05 at 15:01 +0800, Ian Kent wrote:
> 
> > > autofs v4 doesn't rely on mkdir never returning EACCESS just that it
> > > return EEXIST if the directory exists. Never the less if the behavior of
> > > stat will work in this case I'll change v4 to do it the way you suggest
> > > (as v5 does already). 
> > 
> > Aaah. Wrong again!
> > 
> > Although v5 doesn't attempt to mount an NFS export if the directory
> > doesn't exist it does end up doing a mkdir later as the most common case
> > is mounting an NFS export within an autofs filesystem or other, usually
> > local filesystem.
> 
> Then make sure that it only does this within the autofs filesystem. The
> value of f_type as returned by statfs() should be able to tell you if
> this is the case.
> 

Yep. I've done that elsewhere.

Ian


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ