Normal file: Non-directory or other type of file (-)
Directory file (d): Linux directory is also a file, but the directory file contains the name of other files or directories and the corresponding Indoe number
Indoe Wikipedia:Inoderefers to the many "classesUNIX File System"One of theData. Each inode holds one of the file systemFile System Objects(includingFile,Directory,Device files,Socket,Pipeline, and so on), but does not include data content or file names.
Baidu Encyclopedia:
Inode number
Used to identify file types, and schema information for stat C functions
Number of links to files
The UID of the owner
Owner's group ID (GID)
Size of File
Actual number of disk blocks used by the file
Time of last modification
Time of last visit
The most important thing is the block location where the file is located, which is used to determine the location of the file on the hard disk.
Special files
Block device file (b)
Character file (c)
Soft link file (l)
Named pipe file (p)
Socket file (s)
###################
File: Determine the type of ordinary file
This article is from the "Hanging Sword" blog, please be sure to keep this source http://sublime.blog.51cto.com/8856101/1433620