Hello,

Sorry for the late response.

On 19.04.2016 02:25, Antoine Beaupré wrote:
> I understand why ncdu doesn't count symlinks by default, but in some
> cases, it would be very useful to do so. My use case is specifically
> about git-annex repositories, which make heavy use of symlinks.
> 
> There is a patch in the upstream bugtracker, but the thread has been
> inactive for a few years now:
> 
> https://dev.yorhel.nl/ncdu/bug/16
> https://p.blicky.net/j3py5

I understand the use case, but I share Yoran's reasons not to include this 
patch in its current form.

The best case would of course be to convince upstream to write/include one or 
another proper symlink support.

If we as Debian want to diverge from upstream, the patch should, at least, not 
introduce obvious bugs (counting
symlinked stuff more than once) and security problems (recursive symlinks). 
That means, as upstream outlined, dev/inode
table. If someone implements and tests that, I'd be willing to include the 
patch to the Debian package.

Reply via email to