Home  >  Article  >  Operation and Maintenance  >  What are the minimum partitions required to install a linux system?

What are the minimum partitions required to install a linux system?

王林
王林Original
2020-06-22 15:19:2320969browse

What are the minimum partitions required to install a linux system?

Installing a Linux system requires at least 2 partitions, namely the root partition (/) and the swap partition (/swap).

(Recommended tutorial: linux tutorial)

Root partition (/)

The root partition is the root partition , everything is within this partition.

Swap partition (/swap)

/swap partition is a swap partition, which is a certain disk space (partition or file) used to exchange part of the data in the memory. down to free up memory space for other needs.

In a system, when the physical memory is almost used up, the operating system will use the swap partition. When the system memory is tight, the operating system saves some recently unused memory pages to the swap partition according to certain algorithm rules, thereby leaving enough memory space for programs that require memory.

When the memory page in swap is accessed, the system will reload it into physical memory for operation.

The above is the detailed content of What are the minimum partitions required to install a linux system?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn