[Midnight Commander] #4290: Show directory sizes doesn't handle hard links

0 views
Skip to first unread message

Ticket System

unread,
Sep 20, 2021, 6:37:46 AM9/20/21
to ar...@gmx.com, mc-...@googlegroups.com
#4290: Show directory sizes doesn't handle hard links
--------------------------------+-----------------------------------
Reporter: birdie | Type: enhancement
Status: new | Priority: minor
Milestone: Future Releases | Component: mc-core
Version: master | Keywords:
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+-----------------------------------
It would be great if this command took hard links into consideration.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4290>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Sep 20, 2021, 10:20:14 AM9/20/21
to ar...@gmx.com, mc-...@googlegroups.com
#4290: Show directory sizes doesn't handle hard links
----------------------------+---------------------------------------
Reporter: birdie | Owner:

Type: enhancement | Status: new
Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
----------------------------+---------------------------------------

Comment (by andrew_b):

Are you sure?
#3647

--
Ticket URL: <http://www.midnight-commander.org/ticket/4290#comment:1>

Ticket System

unread,
Sep 20, 2021, 11:11:43 AM9/20/21
to ar...@gmx.com, mc-...@googlegroups.com
#4290: Show directory sizes doesn't handle hard links
----------------------------+---------------------------------------
Reporter: birdie | Owner:

Type: enhancement | Status: new
Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
----------------------------+---------------------------------------

Comment (by birdie):

{{{
mkdir 1 && cd 1
dd if=/dev/zero of=test bs=1M count=1
ln test test2
ln test test3
ln test test4
du .
1024 .
}}}

mc shows 4194304 bytes

--
Ticket URL: <http://www.midnight-commander.org/ticket/4290#comment:2>

Ticket System

unread,
Sep 20, 2021, 11:48:14 AM9/20/21
to ar...@gmx.com, mc-...@googlegroups.com
#4290: Show directory sizes doesn't handle hard links
----------------------------+---------------------------------------
Reporter: birdie | Owner:
Type: enhancement | Status: closed

Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: duplicate | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
----------------------------+---------------------------------------
Changes (by zaytsev):

* status: new => closed
* resolution: => duplicate


Comment:

Closed as duplicate of #3647.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4290#comment:3>

Ticket System

unread,
Sep 20, 2021, 11:55:27 AM9/20/21
to ar...@gmx.com, mc-...@googlegroups.com
#4290: Show directory sizes doesn't handle hard links
----------------------------+------------------------------

Reporter: birdie | Owner:
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: mc-core | Version: master
Resolution: duplicate | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
----------------------------+------------------------------
Changes (by zaytsev):

* milestone: Future Releases =>


--
Ticket URL: <http://www.midnight-commander.org/ticket/4290#comment:4>

Reply all
Reply to author
Forward
0 new messages