Understanding Linux and UNIX inodes and file metadata

theurbanpenguin
theurbanpenguin
129.2 هزار بار بازدید - 11 سال پیش - Do you need a greater
Do you need a greater understanding of Linux inodes and file metadata?
Here we take a tour to make sure that we do truly understand inodes in Linux and what they do and contain. Firstly they do not contain the file name. This is stored separately and the file name is linked via the inode number to the inode. The inode itself contains the metadata about the file: the mode, ownership, size etc. Keeping the filename separate to the file metadata does mean that we can have then hard links, multiple file names that point to the one file by way of the inode. We will take a look at the ls command with the -i option along with stat and find -inum ; all of these command line tools help you gain knowledge and use inodes effectively in your system
11 سال پیش در تاریخ 1392/02/28 منتشر شده است.
129,288 بـار بازدید شده
... بیشتر