Many aspects of the functionality of Linux are perhaps in a somewhat different way in Windows. Inodes , the subject of this article are really missing bag of tricks Windows. Given the practice of inodes , Windows now includes an imitation of this feature. But really, to enjoy this concept a bit complicated, you should go to Linux or Unix.
What are inodes and why you use them? Inodes are the internal description of a file. As discussed below , the specific inode contents of a given file are different in memory and on disk. But the key to the inode is that the same file can have different names busy accounting software . Why would someone do this ? One of the most important reasons is that the user can access a file name shared by an intuitive interface. Users in the accounting department might call a certain file name style accounting , while the marketing department users could access the same file with a name that makes sense to them . This feature alone makes inodes worth .
On the other hand , say that it has been accidentally deleted file " accounting." Accounting users could still access the file if they knew the name of " marketing". Remember, we speak the same file , even if you have different names. People do not have to know these complications in order to access the file. Further processing is handled behind the scenes .
Now let's look more closely at the i- node. The inode on disk contains the following information : file owner identifier , file type , permissions, file access , access to the file , number of links , the list of addresses and data size Photo . The owner of the file handle indicates the file owner and group owner as stated in our article on permissions and groups. The file type indicates whether we are talking about a regular file , a directory, or something else. Access permissions to files indicate the permissions , also discussed in a previous article . A given file can have different permissions for different users , for example accounting users may have permission to read and modify the file while marketing users only have permission to read .
Information for this file indicates that the file last access date , last modified , and when the associated inode was changed. The number of links indicates the number of file names. In our example , the file has two links . While accounting or marketing delete the file (assuming you have this permission ) the number of links is reduced to 1 . However, the file is still there and the number of bonds may increase.
The inode on disk contains a list of addresses of data , the file can be scattered across the disk . The final value is the file size in bytes.
The memory inode contains all the information above , as well as additional information such as if the file is available for processing ( someone may be using ) and if someone is waiting to process the file. Remember, several people can use Unix or Linux. If there was no control file using two different people in accounting could pay a bill at the same time . Windows does not have this problem, it is not a multi -user system .
The ln command is used to create a link to a. For example , ln Mark1 acct1 connects Mark1 acct1 file to file , in other words, the name of the file available acct1 Mark1 . This is the same file, but with a new name. Ls -i command provides information about the file, including the number of links ( the number of names for the file. )
No comments:
Post a Comment