1.Linux how to split the plate?
1.Linux Hard Disk type sub-fine. If the hard disk is an IDE hard disk, then it uses/DEV/HDXY
X indicates the number of hard drives (starting from a small write), and Y represents the first partition of the disk.
DEV/HDB2, which means the second partition of a second disk.
If the hard disk is a SCSI hard disk, then the partition is represented as/DEV/SDXY, which means the same as the IDE hard disk.
2. Partitions and mount points?
In Windows, access to a partition is directly accessible on behalf of the partition, but the Linux partition
You cannot access a partition by/DEV/HDXY or/DEV/SDXY, you must pass the name of the mount point
To access the partition.
The mount point can be understood as the name of the partition. The corresponding partition can be accessed as long as the name of the mount point is attached.
Of course, there is an understanding that every partition in Linux is a directory, and the mount point is this
Directory name, as long as access to this directory is access to this partition.
For example, to Mount/DEV/HDA1, the first partition of the first hard disk into the H directory, when you want to access
First hard disk in the first partition of the file, as long as directly open the H directory can be accessed.
3. How do we partition the system when we install it?
1, divide the first partition and mount the partition to the root directory. Access to the root directory will be equivalent to accessing the partition
2. Divide the second partition, mount the partition to the/boot directory, access the/boot directory,
Equivalent to accessing this partition
3. Divide the third partition, which is the swap partition, which has no mount point because the partition format does not
The same.
What is the format of the catalog in 4.Linux?
1. In Windows is a multi-tree form, each number starts with a drive letter, such as C:
In Linux, a number starts with a/directory.
Files that are common in 5.Linux
/boot: Many Linux systems place kernel images and other startup-related files here.
/MNT: This directory has sub-directories that are used to install other devices, such as/mnt/cdrom
In some Linux, this directory is replaced by/mount.
/lib: The library file at startup.
/root:root User's home directory
/home: Directories will be placed in this directory except for root.
/etc:etc is the meaning of and so on, which, as Unix understands, is that the file holds a lot of bits and pieces.
Most of the system configuration files are saved here.
/usr:unix Software resource UNIX operating system software resources.
This article from the "Jane Answers Life" blog, reproduced please contact the author!
Basic knowledge of Linux learning