CaffeineAddict
Well-Known Member
I understand that when a hard link is created to another file this means that both the original file and hard link itself will consume same inode (pointing to same data on disk) thus 1 inode is consumed in total, is that correct?
But when we create a symbolic link how many inodes are consumed?
I understnand that original file will consume an inode (so that's 1), but does the symbolic link itself consume a new separate inode as well (independed of the inode of the original file)? so that 2 independent (but not same) inodes are in use.
In addition to this question, how exactly are symbolic links vs hard links stored on file system?
But when we create a symbolic link how many inodes are consumed?
I understnand that original file will consume an inode (so that's 1), but does the symbolic link itself consume a new separate inode as well (independed of the inode of the original file)? so that 2 independent (but not same) inodes are in use.
In addition to this question, how exactly are symbolic links vs hard links stored on file system?