Reputation: 489
I don't really understand why in UNIX systems they don't store file names directly in the inodes but use a mapping system .. is this only because the size of the inode is defined and can't be changed so in case of long file names we couldn't store them? Or maybe that's in case we change the file name we don't have to do it one more time in the inode ?
Please tell me if I'm wrong or if there are other explanations . Thanks in advance
Upvotes: 8
Views: 2971
Reputation: 15121
Why do not include file name directly in inode, here is the reasons that come to my mind:
Upvotes: 12