No description
Find a file
Yorhel 783bcb5b78 Experiment with scanning using openat() rather than chdir()
A slightly different approach. In terms of syscalls it probably doesn't
matter at all, but it's a simpler, less hacky and maybe more efficient
way to work around PATH_MAX limitations than constantly chdir()'ing for
each directory.  Should also fix the chdir("..") fail case in MacOS
firmlink scenarios, though I haven't a clue if MacOS implements all
these openat()-related calls in the first place.

Downsides:
- Less portable. Everything is in POSIX, but it's more recent than what
  we used to use.
- Requires more open file descriptions, might hit the limit for deeply
  nested directories.

Haven't done much testing yet, but there's a bunch of TODO's:
- Make refreshing work again (not sure what's going wrong there)
- See if we can report readdir() etc errors again?
- Make firmlink detection work again?
- See how portable this really is.
- Also update file deletion code
2021-03-04 17:35:18 +01:00
deps Correct misspellings 2020-05-30 19:26:00 +02:00
doc Add --exclude-firmlinks and follow firmlinks by default 2020-06-07 10:03:11 +02:00
src Experiment with scanning using openat() rather than chdir() 2021-03-04 17:35:18 +01:00
static Remove trailing whitespaces 2020-04-07 21:49:14 +02:00
.gitignore Ignore generated script compile in git 2020-04-08 10:45:24 +02:00
ChangeLog Version bump for 1.15.1 2020-06-10 12:24:34 +02:00
configure.ac Experiment with scanning using openat() rather than chdir() 2021-03-04 17:35:18 +01:00
COPYING Year + version bump for 1.14.2 2020-02-10 16:02:26 +01:00
Makefile.am Fix khash.h -> khashl.h reference in Makefile 2020-02-06 08:58:10 +01:00
README Version bump for 1.15.1 2020-06-10 12:24:34 +02:00

ncdu 1.15.1
===========

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

  If you're building directly from the git repository, make sure you have perl
  (or rather, pod2man), pkg-config and GNU autoconf/automake installed, then
  run 'autoreconf -i', and you're ready to continue with the usual ./configure
  and make route.


COPYING

  Copyright (c) 2007-2020 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.