![]() You can get the details by using tune2fs & dumpe2fs. That's why you see 4096 / 4.0K when using ls. The inode points to a single data block (minimum overhead), which is 4096 bytes. When the directory was created, the file system allocated 1 inode to the directory with a "filename" (dir name in fact). On typical ext4 file system (what most people use), the default inode size is 256 bytes, block size is 4096 bytes.Ī directory is just a special file which contains an array of filenames and inode numbers. Also it describes the relationship between parent and children.) It contains an array of filenames and inode numbers for each filename. directory (just a special file, container for other filenames.file (can be considered a table with 2 columns, filename and its inode, inode points to the raw data blocks on the block device). ![]() ![]() inode (contains file attributes, metadata of file, pointer structure). ![]() To understand this, you'd better have some basic knowledge of the following (file system): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |