Linux Learning Notes (a) partition

First, the hardware device file name

Second, the device file name

/ Dev / hda1 (IDE hard disk interface)

/ Dev / sda1 (SCSI hard disk interface, SATA hard disk interface)

Where, a represents the a hard disk (so, b to the second hard disk), 1 represents a first partition

Third, partition represents

The logic of a disk is divided into several zones, each as a separate disk, to facilitate the use and management

Name different partitions generally: Device Name + partition number

Primary partition : primary partition, also known as the boot partition, Windows systems typically need to be installed in the primary partition, so as to ensure boot automatically into the system. In simple terms, the primary partition boot a computer that can boot partition to read the file.

A hard drive, you can create up to four primary partitions at the same time , when you finish creating four primary partitions, you can not create an extended partition and logical partition. Further, the main partition is independent and corresponds to a first partition on the disk, the vast majority of the computer, when the partition, usually the C drive into a main partition.

Extended partition : In addition to the primary partition, the remaining disk space is extended partition. When a hard drive capacity is distributed to all the main branch, there is no extended partition, and only when the main partition size smaller than the size, the remaining space belongs to the extended partition, the extended partition can be extended to continue cutting into logical partition.

                  Characteristics: (1) primary partition extended partition up to 4 + (2) can not write data, the logical partition can only contain

Logical partitions : In the above extended partition, create several logical partitions

 

 

 

 

 Fourth, the mount

Mounting : borrow the concept of Windows system drive, the drive letter assigned to the partition process is called the mount.

Mount point : letter, is not used in the linux A / B / C / D, etc. As a letter English characters, but with the directory as the letter

 Must be partitioned: / root partition

                  swap partition (swap partition, double the memory, no more than 2GB)

 Recommended Zoning: boot partition (the boot partition)

 

Guess you like

Origin www.cnblogs.com/zijeak/p/11284570.html