Hello... probably simple question, but I'm confused.
Hard links... I have some folder called /home/peon/bin which has a few binaries.
I have another folder called /home/newpeon/bin that will contain the exact same binaries
So I used the command cp -al /home/peon/bin/* /home/newpeon/bin/ to make links, right?
Well... everything went fine, but look...
$ du --max-depth=1 /home/peon/bin
$ du --max-depth=1 /home/newpeon/bin
They are the same! If they are hardlinks, shouldn't one be MUCH smaller???
Ok, so then to verify that they are indeed hardlinks I do the following
ls -i /home/peon/bin (and the same for newpeon) and sure enough the inodes are all identical.
Same inodes but they both take up space??
What am I missing here?