A little understanding of the unknown Pipeline

Source: Internet
Author: User
A little understanding of the unknown pipeline-Linux general technology-Linux technology and application information. The following is a detailed description. In Linux, the unique identifier of a file is its inode.
The inode of a file contains all information about the file: The file access permission, the current size, and the number of file names.
There are two types of inode: Core inode and disk inode. Generally, only the core inode is concerned. The inode information on the disk is inconsistent with that of the core inode.
We can regard the file name as a pointer to the inode on the disk. Inode on the disk contains the number of file names pointing to the inode, that is, the number of connections. When we delete a file, the system first reduces the number of connections by 1. If the number of connections becomes 0 and no process opens the file, the file will be deleted. If a process opens the file, the file will be deleted only after the last process that uses it ends.
Therefore, an unknown MPs queue creates a file in a process, deletes it, and continues read/write operations on it. In addition, multiple processes can access a file that does not exist in the file system (unknown pipeline ).
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.