Can two files have same inode number?

Can two files have same inode number?
Answer
2 files can have the same inode, but only if they are part of different partitions. Inodes are only unique on a partition level, not on the whole system. On each partition, there is a superblock. This superblock tells the system which inodes are used, which are free, etc (I’ll spare you the technical details).
 

Tìm kiếm

Back
Top