What is the open file operation, what closes the file operation, and what is the purpose of the introduction of these two operations?

Source: Internet
Author: User

The so-called generation of documents is to copy the relevant directory table of the file to the area specified in main memory, the establishment of a file control block, that is, the establishment of the user and the file connection.

The so-called closed file is the user declared that the file is no longer in use, the system copies its contents of the file control block in main memory to a file directory entry on disk, and releases the file control block, thus cutting off the user's connection to the file.

The purpose of introducing this action is to:

Save memory, reduce access time, and speed access.

What is the open file operation, what closes the file operation, and what is the purpose of the introduction of these two operations?

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.