> fd -HI . image2|wc -l
217773
> du -ks image2
3818440 # kilobytes
> fd -HI . image2|wc -l
217773
> gdu -ks image2
3587536 image2 # kilobytes
> gdu -ks --apparent-size image2
3382593 image2 # kilobytes
print apparent sizes, rather than disk usage; although the apparent size is usually smaller, it may be larger due to holes in (`sparse') files, internal fragmentation, indirect blocks, and the like
> fd -HI . image2|wc -l
217773
> du -ks image2 # BSD
3587536 image2 # kilobytes
> gdu -ks image2 # GNU
3587536 image2 # kilobytes
> gdu -ks --apparent-size image2
3382593 image2 # kilobytes
1
noobsheldon 2019-11-25 19:29:57 +08:00
|
2
lxk11153 OP @noobsheldon #1 那问题 1 呢
|