You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
du: different output compared to GNU when links and targets in args #10312
When both a symlink and its target are included in the arguments.
# Preparation
mkdir dir2
dd if=/dev/random of=dir2/file count=1
ln -s file dir2/link
# GNU dd
du -L dir2/file dir2/link
4 dir2/file
du dir2/file dir2/link
4 dir2/file
0 dir2/link
# coreutils dd
coreutils du -L dir2/file dir2/link
4 dir2/file
4 dir2/link
coreutils du dir2/file dir2/link # it prints the same as GNU du does
4 dir2/file
0 dir2/link
Activity