du command
by centguy from LinuxQuestions.org on (#5T43Q)
alias dus='du -ks `/bin/ls -1` | sort -t : -k 1n'
On system1:
$ dus
905728SQS-new-binary
905984stratus-zero-copy2
On system2:
$ dus
427672stratus-zero
427724stratus-zero-copy2
Nothing seems wrong. I copied SQS-new-binary from system1 to stratus-zero-copy2 in system2.
I was worried that I am losing files. So I copied stratus-zero-copy2 from system1 back to system2.
Now, the file size increases from 427724 to 905984.
Why such difference in what du reports in both systems?
On system1:
$ dus
905728SQS-new-binary
905984stratus-zero-copy2
On system2:
$ dus
427672stratus-zero
427724stratus-zero-copy2
Nothing seems wrong. I copied SQS-new-binary from system1 to stratus-zero-copy2 in system2.
I was worried that I am losing files. So I copied stratus-zero-copy2 from system1 back to system2.
Now, the file size increases from 427724 to 905984.
Why such difference in what du reports in both systems?