![]() This is the time the file’s attributes or contents were last changed. (As luck would have it, the contents of this file were last changed four years ago to the day.) This is the time when file’s contents were last modified. Simply put, the access time is updated if it is older than the modified time. Modern Linux distributions use a scheme called relatime, which tries to optimize the hard drive writes required to update the access time. Gid: Group ID and account name of the owner.Uid: User ID and account name of the owner.Access: The file permissions are shown in their octal and traditional rwx (read, write, execute formats).If you use stat on a directory, this number represents the number of files in the directory, including the “.” entry for the current directory and the “.” entry for the parent directory. When it reaches zero, the file itself has been deleted, and the inode is removed. Each time a hard link is created or deleted, this number will be adjusted up or down. So another way to think about this figure is how many inodes point to this one file. Links: This number indicates how many hard links point to this file.Together, the inode number and the device number uniquely identify a file. This is the ID of the hard drive the file is stored on. Device: The device number in hexadecimal and decimal. ![]() The most common types are files and directories, but they can also be links, sockets, or named pipes. File type: The type of object the metadata describes.IO Block: The size of a filesystem block.Blocks: The number of filesystem blocks the file requires, in order to be stored on the hard drive.Usually, it is the same as the name we passed to stat on the command line, but It can be different if we’re looking at a symbolic link. ![]()
0 Comments
Leave a Reply. |