DragonFly kernel List (threaded) for 2008-10
DragonFly BSD
DragonFly kernel List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: HAMMER and file alternation problem


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 18:10:54 +0200

Matthew Dillon wrote:
>     Joerg also brought up the st_nlink issue.  UFS increments/decrements
>     a directory's st_nlink count on the creation and deletion of 
>     subdirectories.  It does not bump the count in the directory for the
>     creation and deletion of files.  I do intend to change HAMMER to
>     work the same as UFS in this regard, because 'find' and other programs
>     seem to depend on it.  It isn't quite so easy to do this as it is to
>     add kqueue support so it may be a while before I get it in, but it 
>     will be in for 2.2.

I think that we should carefully evaluate what the standards say, what is reasonable to expect from a UNIX system and what would have to be changed in find et al to drop these (bogus?) assumptions.

cheers
  simon




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]