Subject: Re: FFS journal
To: None <tech-kern@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-kern
Date: 07/22/2006 09:37:38
On Tue, Jul 11, 2006 at 10:59:27AM -0700, Bill Studenmund wrote:
> On Tue, Jul 11, 2006 at 04:25:17PM +0200, Pawel Jakub Dawidek wrote:
[..]

> > How do you handle situations when process which removed open file is
> > chrooted and .deleted/ is no accesable from within his context?
> 
> My thought was that ".deleted" is never accessed by paths. It is only 
> accessed/maintained by the file system and fsck when directly accesing the 
> disk; VOP_LOOKUP() never returns it. Or it never returns it for accesses 
> that aren't ffs-internal.

And what will happen if someone tries to create a .deleted file or directory
in such a filesystem?
Right now that is an allowed file or directory name.

Bernd