New ncdu, ncdc + btrfssize + misc changes

This commit is contained in:
Yorhel 2016-12-30 13:46:17 +01:00
parent 7cf772d968
commit 07143cfb36
17 changed files with 182 additions and 84 deletions

View file

@ -81,6 +81,10 @@ Display summary of options.
Don't automatically connect to hubs with the C<autoconnect> option set.
=item B<--no-bracketed-paste>
Disable bracketed pasting.
=item B<-v, --version>
Display ncdc version.
@ -376,13 +380,15 @@ Your public IP address for use in active mode. If this is not set or set to '0.0
Both an IPv4 and an IPv6 address are set by providing two IP addresses separated with a comma. When unset, '0.0.0.0,::' is assumed. Only the IP version used to connect to the hub is used. That is, if you connect to an IPv6 hub, then the configured IPv6 address is used and the IPv4 address is ignored.
When set to the special value `local', ncdc will automatically get your IP address from the local network interface that is used to connect to the hub. This option should only be used if there is no NAT between you and the hub, because this will give the wrong IP if you are behind a NAT.
=item B<active_port> <integer>
The listen port for incoming connections in active mode. Set to `0' to automatically assign a random port. This setting is by default also used for the UDP port, see the `active_tls_port' settings to change that. If you are behind a router or firewall, make sure that you have configured it to forward and allow these ports.
=item B<active_udp_port> <integer>
The listen port for incoming UDP connections in active mode. Defaults to the `active_port' setting, or to a random number of `active_port' is not set.
The listen port for incoming UDP connections in active mode. Defaults to the `active_port' setting, or to a random number if `active_port' is not set.
=item B<adc_blom> <boolean>
@ -489,6 +495,14 @@ The maximum age of a downloaded file list. If a file list was downloaded longer
Tell the OS to flush the file (disk) cache for file contents read while hashing and/or uploading or written to while downloading. On one hand, this will avoid trashing your disk cache with large files and thus improve the overall responsiveness of your system. On the other hand, ncdc may purge any shared files from the cache, even if they are still used by other applications. In general, it is a good idea to enable this if you also use your system for other things besides ncdc, you share large files (>100MB) and people are not constantly downloading the same file from you.
=item B<geoip_cc4> <path>|disabled
Path to the GeoIP Country database file for IPv4, or 'disabled' to disable GeoIP lookup for IPv4 addresses.
=item B<geoip_cc6> <path>|disabled
Path to the GeoIP Country database file for IPv6, or 'disabled' to disable GeoIP lookup for IPv6 addresses.
=item B<hash_rate> <speed>
Maximum file hashing speed. See the `download_rate' setting for allowed formats for this setting.
@ -515,6 +529,10 @@ Log debug messages to stderr.log in the session directory. It is highly recommen
Log downloaded files to transfers.log.
=item B<log_hubchat> <boolean>
Log the main hub chat. Note that changing this requires any affected hub tabs to be closed and reopened before the change is effective.
=item B<log_uploads> <boolean>
Log file uploads to transfers.log.
@ -907,7 +925,7 @@ more information.
=head1 BUGS
Please report bugs or feature requests to the bug tracker or the mailing list.
Both can be found on the ncdc homepage at L<https://dev.yorhel.nl/ncdc>. There
Both can be found on the ncdc homepage at L<http://dev.yorhel.nl/ncdc>. There
is also an ADC hub available at C<adc://dc.blicky.net:2780/> for general
support and discussions.
@ -915,4 +933,4 @@ support and discussions.
ncdc is written by Yoran Heling <projects@yorhel.nl>
Web: L<https://dev.yorhel.nl/ncdc>
Web: L<http://dev.yorhel.nl/ncdc>