A
ASX
Guest
hello,
I'm experiencing a questionable output from du(1)
the script below show the effect, at least on my system:
and the 'du' output is not what expected:
The test was run on a zfs filesystem, if that matter.
Any comment ? bug or feature ?
I'm experiencing a questionable output from du(1)
the script below show the effect, at least on my system:
Code:
rm -rf test
mkdir test
cp /boot/kernel/kernel test/kernel1
cp /boot/kernel/kernel test/kernel2
cp /boot/kernel/kernel test/kernel3
cp /boot/kernel/kernel test/kernel4
cp /boot/kernel/kernel test/kernel5
cp /boot/kernel/kernel test/kernel6
cp /boot/kernel/kernel test/kernel7
cp /boot/kernel/kernel test/kernel8
ls -l test
du -s test/*
and the 'du' output is not what expected:
Code:
total 64876
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel1
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel2
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel3
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel4
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel5
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel6
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel7
-r-xr-xr-x 1 root wheel 21551736 Jun 28 12:31 kernel8
21153 test/kernel1
21153 test/kernel2
21153 test/kernel3
1417 test/kernel4
1 test/kernel5
1 test/kernel6
1 test/kernel7
1 test/kernel8
The test was run on a zfs filesystem, if that matter.
Any comment ? bug or feature ?