I have 9 directories in my home directory but when I am using ls -la
command the total hard links showing is 1 (for the home directory). Although there are total 9 directories inside my home directory so the total hard link should be 9 + 2 (one for .
and ..
) = 11 (2 + n).
This kind of problem is also for the directories for root user
and root group
(like /usr). As far as I know every folder has at least two hard links plus total numer directories it contains.
But this problem is not there for the folder I have created the hard link count is 2 + (number of directories it contains).
I am very much confused. Please help ...
Using : btrfs