ncdu 2.0-beta3

This commit is contained in:
Yorhel 2021-11-09 09:14:25 +01:00
parent 38b35f30b4
commit 2893dc72b9
27 changed files with 138 additions and 29 deletions

3
.gitignore vendored
View file

@ -16,6 +16,8 @@ dat/ncdu/changes.log
dat/ncdu/changes.md
dat/ncdu/man.md
dat/ncdu/man.pod
dat/ncdu/man2.md
dat/ncdu/man2.pod
dat/nginx-confgen/changes.log
dat/nginx-confgen/changes.md
dat/nginx-confgen/man.md
@ -78,6 +80,7 @@ pub/ncdu/changes.html
pub/ncdu/feed.atom
pub/ncdu/jsonfmt.html
pub/ncdu/man.html
pub/ncdu/man2.html
pub/ncdu/scr.html
pub/nginx-confgen.html
pub/nginx-confgen/changes.html

View file

@ -46,7 +46,8 @@ PAGES=\
"ncdu.md"\
"ncdu/changes.log https://g.blicky.net/ncdu.git/plain/ChangeLog Ncdu Release History"\
"ncdu/jsonfmt.md"\
"ncdu/man.pod https://g.blicky.net/ncdu.git/plain/doc/ncdu.pod Ncdu Manual"\
"ncdu/man.pod https://g.blicky.net/ncdu.git/plain/doc/ncdu.pod Ncdu 1.x Manual"\
"ncdu/man2.pod https://g.blicky.net/ncdu.git/plain/ncdu.pod?h=zig Ncdu 2.x Manual"\
"ncdu/scr.md"\
"nginx-confgen.md"\
"nginx-confgen/changes.log https://g.blicky.net/nginx-confgen.git/plain/ChangeLog Nginx-confgen Release History"\

View file

@ -160,6 +160,11 @@ useful, but maybe I'll reconsider that for a future release. A directory that
can't be analyzed at all because you've ran out of memory isn't very useful,
either.
**Update**: Version 2.0-beta2 implements a *much* more memory-efficient hard
link counting algorithm that, combined with the other efficiency gains, should
ensure that ncdu 2.0 never uses more memory than 1.x. The memory usage of the
"many hard links" directory above has been reduced to 106M in that version.
Another difference that is worth mentioning: when refreshing a directory from
within the browser, ncdu 1.x will allocate a fresh structure for the new tree
and then, after the scan is complete, free the old structure. This may cause

View file

@ -33,21 +33,20 @@ Community
Packages and ports
: Are available for the following systems:
[Arch Linux](https://aur.archlinux.org/packages/ncdc/) -
[Debian](https://packages.debian.org/search?keywords=ncdc&searchon=names&exact=1&suite=all&section=all) -
[Fedora](https://apps.fedoraproject.org/packages/ncdc/overview/) -
[FreeBSD](http://www.freshports.org/net-p2p/ncdc/) -
[FreeBSD](https://www.freebsd.org/cgi/ports.cgi?query=ncdc&stype=all) -
[Frugalware](http://frugalware.org/packages?srch=ncdc&op=pkg&arch=all&ver=all) -
[Gentoo](http://packages.gentoo.org/package/net-p2p/ncdc) -
[GNU Guix](https://www.gnu.org/software/guix/packages/N/) -
[Gentoo](http://packages.gentoo.org/package/net-p2p/ncdc) -
[Homebrew](https://formulae.brew.sh/formula/ncdc) -
[OpenSUSE](http://packman.links2linux.org/package/ncdc) -
[Source Mage](http://download.sourcemage.org/grimoire/codex/test/ftp/ncdc/)
I have a few old packages on the [Open Build
Service](https://build.opensuse.org/package/show/home:yorhel/ncdc), but
these are unmaintained. The static binaries are preferred.
[Source Mage](http://download.sourcemage.org/grimoire/codex/test/ftp/ncdc/) -
[Ubuntu](https://packages.ubuntu.com/search?keywords=ncdc&searchon=names&exact=1&suite=all&section=all) -
[Void Linux](https://voidlinux.org/packages/?arch=x86_64&q=ncdc).
A convenient installer is available for
[Android](http://code.ivysaur.me/ncdcinstaller.html).
[Android](http://code.ivysaur.me/ncdcinstaller.html) as well.
## Features

View file

@ -125,8 +125,12 @@ Select your openSUSE release and hit the "1 click install" button.
## Ubuntu & Debian
The preferred way of installing ncdc on Ubuntu or Debian is to use the static
binaries provided above.
If you're running a recent enough release, you may be able to just do a
sudo apt install ncdc
Otherwise you may have to grab the package from a backport or use the static
binaries above.
Alternatively, you can also try to compile ncdc from source. To do so, first
install the required libraries:

View file

@ -8,28 +8,28 @@ POSIX-like environment with ncurses installed.
## Download
C version (stable)
: 1.16 ([ncdu-1.16.tar.gz](/download/ncdu-1.16.tar.gz) - [changes](/ncdu/changes))
I also have convenient static binaries for Linux
[i486](/download/ncdu-linux-i486-1.16.tar.gz),
[x86_64](/download/ncdu-linux-x86_64-1.16.tar.gz),
[ARM](/download/ncdu-linux-arm-1.16.tar.gz) and
[AArch64](/download/ncdu-linux-aarch64-1.16.tar.gz).
Download, extract and run; no compilation or installation necessary (uses
[musl](http://www.musl-libc.org/)).
Zig version (beta)
: 2.0-beta2 ([ncdu-2.0-beta2.tar.gz](/download/ncdu-2.0-beta2.tar.gz) - [changes](/ncdu/changes) - requires Zig 0.8)
: 2.0-beta3 ([ncdu-2.0-beta3.tar.gz](/download/ncdu-2.0-beta3.tar.gz) - [changes](/ncdu/changes) - requires Zig 0.8 or 0.8.1)
See the [release announcement](/doc/ncdu2) for information about the
differences with the C version.
Static binaries for Linux:
[i486](/download/ncdu-2.0-beta2-linux-i386.tar.gz),
[x86_64](/download/ncdu-2.0-beta2-linux-x86_64.tar.gz),
[ARM](/download/ncdu-2.0-beta2-linux-arm.tar.gz) and
[AArch64](/download/ncdu-2.0-beta2-linux-aarch64.tar.gz).
This version is only really "beta" because [Zig](https://ziglang.org/) is
still unstable, ncdu 2 is otherwise perfectly usable and comes with several
significant improvements over the C version.
Convenient static binaries for Linux:
[i486](/download/ncdu-2.0-beta3-linux-i386.tar.gz),
[x86_64](/download/ncdu-2.0-beta3-linux-x86_64.tar.gz),
[ARM](/download/ncdu-2.0-beta3-linux-arm.tar.gz) and
[AArch64](/download/ncdu-2.0-beta3-linux-aarch64.tar.gz).
Download, extract and run; no compilation or installation necessary.
C version (stable)
: 1.16 ([ncdu-1.16.tar.gz](/download/ncdu-1.16.tar.gz) - [changes](/ncdu/changes))
Lags a bit behind on the 2.x version in terms of features and performance,
but is still being maintained and perfectly usable.
Development version
: The most recent code is available on a git repository and can be cloned

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmGKKvYACgkQYjlMaYwn
OforHQ/+Mp/8/thhKS+AmMoRv1yfVFrtL9LhqPYk6AobM9YEgdAtRmUcIXrjZ6sy
pkEM8eRVZGYJAJKDcmvj0RnAdl7FAhvy+4CN1Lha8hMFgMs+zOToiK01HGwv4oBS
NO4l92bL0+TAk5TjZd2Eju/xSJ5A1apwGl8xWOuObhBB93f0HusfaLNIxE6wXgWU
qWy1waWMYJid2cCG1+u/UJpOI7/IhV50ROPQMpHnyanaj0P7JI+LZLuGgE6IqYzO
9It6xUHgVpcUm/UQqRr1DkEq5ckmyxMmKJuTrO//z1WT7rcPua3Vsk02bkK88E/I
n7IHQ5q3iXgjfpTr1SWByJbi+pJ3Y6tG9wZdUT2yzSBXbr5RCTSdv8BwWY41mKgq
3bbUy8akBbojlF+SubxkGp8dQOFCHco1Y4VN9z1mWzNpmCHj8aDc6ol+ihIZl+4t
Pjj5bDl5Thv5FvqS8H0I4jb/TsMg891i/JICvJANIGxgev3nAHc2bkTEM9d1H4vm
bxX1StJ+9l6zEea6b34w3FgG7Z40AiXmOTVgwxcJNBKebhBE+SDiRRNPqd7LSMWf
eTJBWrC/7/xYrHVDDKogxNqN8IF5z735/Sjh9Kz/+TrEdVBwOGTzWtEvhdk/vgW7
Cat30wOmZGIu+LWdFJuv1tgB4VOzHzrxTEysx+2vYXrux2J2kro=
=/MF7
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
9ceb6d1351d17c89a1ebfcb76aff017f ncdu-2.0-beta3-linux-aarch64.tar.gz

View file

@ -0,0 +1 @@
a5bcf181c97810f2ced9c88b90c48e733446ec88 ncdu-2.0-beta3-linux-aarch64.tar.gz

View file

@ -0,0 +1 @@
02e3472c4b636a3ed96eebc440c0c8fccb72053037dc3dc330fbfcbe2e97b78b ncdu-2.0-beta3-linux-aarch64.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmGKKvsACgkQYjlMaYwn
OfrmcQ//amhLTTwOiHb1YcpT8P2LSjXe0SyPyoWv0NZeY++5StkKb4LL9SiXsb+o
nu10pYKWas1HdOxQ3C7A+VEKdEd1Rcu66cvh9DdDE3BaHfbhMaZPfQqgN1IrGMIO
dUUis/EThess+fPDiaiEoETB4SfjF9rHycN6msxWj2gO0mlYlcaJn0IrSE3xAK2/
/1Hj//v19X5aOTtAyVkMshPQbi4OT6BXAWlLQ9UxGL8WUQ1yiTExIrd2Hc1D77nO
VjQhMa7fsA39iipopu+ir5QLJ1kGXfm7Q+Q7e0bIqJsiB1CJyuoHaQcmvhiwYb9q
3HesyA2YjtnTWsRTatRHFulq9VM4/zP+rYLxUYlrr9imWtKZa/rkzzyt08/xhHa6
jgQ/f5NgQGtWU0q1ykdG+BIRTEumdtl3d3CF7k0ps6DH5rva+9GA10S4Ytq2weg2
ehuiyZ3GDxqo2GpPAXhFVIeo6RxcIouf5MNq2UNyaqX18PetYyOE59Dsz9sP7KLq
Ryq2DyConv7NrVnXjSE5FOsPN7gcXbFjzOYjnhu1B+/v0XqbHg1dyxNGZklf7oMk
Nf3IGGoHFtk45B/nQFQQZ06lxLAi9lG0VSq8+KCe+fii2MOhvE25KFAfS639HU5X
tWob3IQ9ZYq0SZ1OVv+tvirG6L5eUo03pWyzDG6gd4J4nqrJXmc=
=Tmqs
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
4257c59a477e64b28fb3b46bcab719a5 ncdu-2.0-beta3-linux-arm.tar.gz

View file

@ -0,0 +1 @@
dfe73aa17bb70ce7f2f4cfa6b179f7a6b2ee6008 ncdu-2.0-beta3-linux-arm.tar.gz

View file

@ -0,0 +1 @@
fbf2b43b7a0d007985cbcf1bf0922bbbeeeeb718e4a49512059609d406a49c45 ncdu-2.0-beta3-linux-arm.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmGKKvwACgkQYjlMaYwn
OfqQbA/+PCJP+bjpkABHfPCCTvgkqpcBjC3pnY0uL9t7Hdyhro2lB7nVesvR5tMH
w17dqJk4K5RTe8dQfdjsSARMYkAKl5ZHRu+2HcNTlgLfCleJbQ0RbSYUWXhSEd54
QZhegoeek3d+g5709IonSlJn5JI/WHH889kCXffkLvPnzbtuVrIkJw/aQITdoLJL
FEa0IT3A6G+rlJLtY5wJH+LnrlhvD5srM9tHbkiJZKdVw5FthfF3JAxabjeoPOQs
oODbDxUzlEwtv91xmiTtypoRBP75uRoYtlm+Ju4ijQAiowtKTNho873ldO/O5qB0
/AZCKIAkCUdAWsIGNb0hym99PEBW+IwnNH5yYIdg7rTfrUdjzHkePZI8g78pDiNl
B1CZ6sHa3LaBceO4Csg5bl5g0O2hv8MZsANEb3sNfdYaQHtsPZsutFuBF26s9Ddm
Fl/SXaYSrDjsTvJJv2Tk9XMsvEzhoDSmVhMqJsQDs5IQJLPI4zvUn7ppL4FAwdu6
YOGsgbKcpUNxWhzilRli6QyeUDHtb4hCPI/nqDyHpd4ssXjSq28jCVSBHrZHk6lL
Aw9DvHC9igaUTeKHKE0NsGPB4gwgZzSAraBZiCdq5Kmh6CU71WF/2mdSr9LPW7+0
9XYG50I2WP16hadtXeAsOb+NOwPi03OA4F+h6I9TYUedGU0OSvc=
=+7wy
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
aabbce4742a577ac41abc291d8558d97 ncdu-2.0-beta3-linux-i386.tar.gz

View file

@ -0,0 +1 @@
3fe5535568c69c04a544a8d10b135538b570e1b1 ncdu-2.0-beta3-linux-i386.tar.gz

View file

@ -0,0 +1 @@
6b2562f5ebdd6a843e91888c917010ac568f9858acd50494e7f6f3cd09033ffc ncdu-2.0-beta3-linux-i386.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmGKKvwACgkQYjlMaYwn
OfowmhAA1PlONrPD26miKjLMvxzPZb91j4bv3QmiERrQmok8iU6rj2Rdk9sfrvCY
7ifRVZdpbEdH6vSmXwem8NDdzfw6+Acwjy4zuJmS3UDAExBIuAW9+IxKl5OMBVHb
CL0+TNpIpIsmVZn8V2XmLhiJurXHZisEjR6gvqvUSHFaBfGC6G4qj/OKshd/PC1k
85u6MN1PNQ5sFG05H2gamzv5F4+iiQPyMfxAvGR0w90IEk6oVjNlR+ZNL6XQSIBs
IfL0I61mIZ9WQochuEVYC3ijGwjlV1+gWNu5LV1WHC7Ekybdy3NDNolmD6aCL6VZ
XEH5gI58/eMUwt6Z+VbA+YXSOlcgTnMVtxxul6K5QOI5/lC9xCViLlBaMqWSy6TV
DDxjWJ4taagipsl0ak6hYdyj5pNvNuwG2Kpk9pxMbDNIMOzwNFPoJ0qXiZZW6oLj
lgj0naDN7MtM/WufVGBs2LCGvZO6EOO92WshWDljYVe3pVTqis4o36j8+3XCWjyH
AkLhKF2R8xIYV+bKfdUJ48ktXCIah/VWif31nA8UuyWOldc3SQA12VmwG95rhVMe
Qrx8Sx070GOTQar19RLCk59kdhvv7qwceCJy1I+YOFUtqxEbOmqDuoLLQFeeuhc7
DhAJzm6A0mw/yhGdz3PfUWWShV5r2Cia5ix/n6FVgFTIVXf3Dws=
=xXEA
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
e0971eeced6eb5b3142cc6264b522223 ncdu-2.0-beta3-linux-x86_64.tar.gz

View file

@ -0,0 +1 @@
1894486eef1629260b8070d07d1eb9bac02c235a ncdu-2.0-beta3-linux-x86_64.tar.gz

View file

@ -0,0 +1 @@
66c25341e4fa1e9beb51bb55be5b741af919e54b039fcf695dd2a871b3fd3709 ncdu-2.0-beta3-linux-x86_64.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmGKKv0ACgkQYjlMaYwn
OfqFAg/+IUv4bmDMZGUMSdxXPY7/Ot01JUQ0fwHId7C2mfShuYm+HVLSq+vc+JK4
jup7vR/dzKoC5mNJRd4kvMRtoIBHzxMcWN3uoyhe2esJpzEHRuTNSmB7ZUIAV+9O
nHUdzCBJL+ld/4xATNTQ2Zgf0E4UdxwgOnqT1YWUJQlxJE5JqqSU6qZH9jCv8M1S
NkgV2gcUN7NAw2h8RPl2CGfHvCuW6V/T1BXtCFWIea9k0g8kVbSBncRVNLXj0/xF
mSZGqtbYn0I2lPePB3BebD3NbuGEjVIeUD4Jy01Ld0hcLj5ZmLyD5TF0VVAYtC9q
3B19CFLjhwuANia5RoWqvcI5IqEBez4+EwzeDJX8/YysL9EPvL3VwAbT+ZShTtvi
ZgxCvMArGdr6EnRqizldf2dJvJWmCAwVsei0TJO4quQcOY38E17dCyhFQ7rCN+nJ
caZ8FIYGWdlXBDaR8686yfntAlHK2pDbNHYQwPtDw2VO3EOms8jIdVTCM5HLwNyl
9F3rDlKf57XFoGg7YNDz1wDUbpfddRuC9SWGrB/Dh1ApdyA7+qCzyrmOQ+R0kAH6
GX37APPWdj0MvbGo7FNR7FRJl2zqIo9Z98N1aQzFSjYDBlj4HJvgFhynwJAl05PP
mEN4crYlJRdG23/qA0HLZtIaNv8OiwpawjT/zWD6RJKnRHO7tQw=
=X6Ii
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
6b9e997c922c3c007ddc7973965d1717 ncdu-2.0-beta3.tar.gz

View file

@ -0,0 +1 @@
96a34a626e7f9c2c6b3fee1f7e04351c52a93046 ncdu-2.0-beta3.tar.gz

View file

@ -0,0 +1 @@
350c388d6cbda94fddee72b85eeb3ce0f978f985c892ca76407fd90613b70190 ncdu-2.0-beta3.tar.gz

View file

@ -72,8 +72,10 @@
<h1>~ Ncdu ~</h1>
<ul>
<li><a href="/ncdu" class="item2-ncdu">Info</a></li>
<li><a href="/ncdu/man" class="item2-ncdu-man">Manual</a>
<li><a href="/ncdu/man" class="item2-ncdu-man">Docs</a>
<ul>
<li><a href="/ncdu/man2" class="item2-ncdu-man2">Manual (2.x)</a></li>
<li><a href="/ncdu/man" class="item2-ncdu-man">Manual (1.x)</a></li>
<li><a href="/ncdu/jsonfmt" class="item2-ncdu-jsonfmt">File Format</a></li>
</ul>
</li>