No description
Find a file
Yorhel 6de0a8ec00 Use correct hard link information after partial recalculation or deletion
Hard link detection is now done in a separate pass on the in-memory tree,
and duplicates can be 'removed' and 're-added' on the fly. When making any
changes in the tree, all hard links are re-added before the operation and
removed again afterwards.

While this guarantees that all hard link information is correct, it does
have a few drawbacks. I can currently think of two:

 1. It's not the most efficient way to do it, and may be quite slow on
    large trees. Will have to do some benchmarks later to see whether
    it is anything to be concerned about.

 2. The first encountered item is considered as 'counted' and all items
    encountered after that are considered as 'duplicate'. Because the
    order in which we traverse the tree doesn't always have to be the
    same, the items that will be considered as 'duplicate' can vary with
    each deletion or re-calculation. This might cause confusion for
    people who aren't aware of how hard links work.
2009-05-11 20:02:46 +02:00
doc Version & date bump for ChangeLog and manual page 2009-05-02 13:11:02 +02:00
src Use correct hard link information after partial recalculation or deletion 2009-05-11 20:02:46 +02:00
.gitignore Converting ignores and versions from subversion to git 2009-04-05 14:59:05 +02:00
AUTHORS Initial import (ncdu-1.1) 2007-07-20 11:15:46 +00:00
autogen.sh SVN cleanup: removed automatically generated build files, added autogen.sh to create these, and added svn:ignore to ignore common files 2007-07-22 16:27:04 +00:00
ChangeLog Use correct hard link information after partial recalculation or deletion 2009-05-11 20:02:46 +02:00
configure.in Cleaned up configure.in 2009-04-30 11:25:06 +02:00
COPYING Year bump 2009-01-11 09:34:19 +00:00
INSTALL Added exclude option and increased version numer 2007-07-21 13:55:51 +00:00
Makefile.am Initial import (ncdu-1.1) 2007-07-20 11:15:46 +00:00
NEWS Replaced the NEWS file with a symlink pointing to the ChangeLog 2009-04-26 15:48:27 +02:00
README Converting ignores and versions from subversion to git 2009-04-05 14:59:05 +02:00
TODO Updated ChangeLog and TODO 2009-04-26 11:35:03 +02:00

ncdu git
========

DESCRIPTION

  ncdu (NCurses Disk Usage) is a curses-based version of
  the well-known 'du', and provides a fast way to see what
  directories are using your disk space.


REQUIREMENTS
  
  In order to compile and install ncdu, you need to have
  at least...

  - a POSIX-compliant operating system (Linux, BSD, etc)
  - curses libraries and header files


INSTALL

  The usual:

    ./configure --prefix=/usr
    make
    make install

COPYING

  Copyright (c) 2007-2009 Yoran Heling

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.