Skip to content
Snippets Groups Projects
  • Yorhel's avatar
    e6b2cff3
    Support hard link counts when importing old ncdu dumps · e6b2cff3
    Yorhel authored
    Under the assumption that there are no external references to files
    mentioned in the dump, i.e. a file's nlink count matches the number of
    times the file occurs in the dump.
    
    This machinery could also be used for regular scans, when you want to
    scan an individual directory without caring about external hard links.
    Maybe that should be the default, even? Not sure...
    e6b2cff3
    History
    Support hard link counts when importing old ncdu dumps
    Yorhel authored
    Under the assumption that there are no external references to files
    mentioned in the dump, i.e. a file's nlink count matches the number of
    times the file occurs in the dump.
    
    This machinery could also be used for regular scans, when you want to
    scan an individual directory without caring about external hard links.
    Maybe that should be the default, even? Not sure...