HAMMER and file alternation problem

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Oct 16 09:17:16 PDT 2008


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






More information about the Kernel mailing list