If many files are created with same inode number, total size of the file will be same size of a single file.
Find the below results,
=-=-=-=-
ls -i
274583 test1.txt 274583 test2.txt 274583 test3.txt 274583 test4.txt
test2,test3 and test4 are hard links of file test1.txt.
Now, verify the size using the below command.
ls ; du -sch ./*
test1.txt test2.txt test3.txt test4.txt
4.0K ./test1.txt
4.0K total
=-=-=-=-
Find the below results,
=-=-=-=-
ls -i
274583 test1.txt 274583 test2.txt 274583 test3.txt 274583 test4.txt
test2,test3 and test4 are hard links of file test1.txt.
Now, verify the size using the below command.
ls ; du -sch ./*
test1.txt test2.txt test3.txt test4.txt
4.0K ./test1.txt
4.0K total
=-=-=-=-