For more information about file systems-general Linux technology-Linux technology and application information, see the following. Inode first. This is the basis of the Linux file management mechanism. When creating a new file system, you must specify the ratio of the inode region to the data region. No matter which one is not enough, even if your hard disk has dozens of GB space, you cannot create a new file. Files in Linux are stored in the data area, and an inode of B is taken out in the inode area to store the property information of the file. inode identifies the file. When ls-l (equivalent to ll command), the permission information is stored in inode. The directory does not occupy the data region at all, and an inode is directly used to identify itself.
The ln command can add a hard link. The so-called hard link is the same file, originally an inode, which identifies a piece of data. After creating a hard link for this file, the original inode is added to identify the same piece of data. In this case, the number of connections following the permission information is changed from 1 to 2 (the original file and the new hard link are both 2 ), that is, two inode are connected to this file. In this case, if any of the two files is deleted, the number of connections will change to 1, so that the remaining inode can access the content of the file.
When your player is releasing an mp3 file, you can delete it. If the dialog box appears in Windows, the file is not released and cannot be deleted. In Linux, It can be deleted smoothly, and ls cannot be listed again, and our players are still playing. Linux does not delete this file until it is completely released.
Linux, like Windows, contains many attributes. You can use chattrib to change the attributes. Read the manual of this command and you will find that the attributes in Linux are rich and have many functions. However, the hidden attribute in Windows is not available in Linux, but must be hidden in Linux, rather than through attributes, but through the file name-as long as the first character is the file name of a vertex, the ls command and Konqueror cannot be seen (ls-a can list it ).
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service