Why does moving a file not affect its inode number?
Moving is actually creating a copy of a file in a new location, then deleting the file from its previous location. Since it is impossible to have two identical inode numbers at the same time, the inode number should change after copying and before deleting the old file (short time). However, I discovered that the inode number does not change after
mv command. So, is the inode number of the deleted file reassigned to the copied file?