In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
The content of this article mainly focuses on what is the representation method of disk partition in Linux system. The content of the article is clear and clear. It is very suitable for beginners to learn and is worth reading. Interested friends can follow the editor to read together. I hope you can get something through this article!
Use the fdisk-l command in linux to view the partition of the disk, which shows the result:
/ dev/sda1
/ dev/sda2
/ dev/sda3
Here, sd means that the scsi hard disk is mounted, an indicates that there is only one disk (the drive letter is encoded by a, b, c), and 1, 2, and 3 represent the partitions on this disk.
For SCSI hard drives, the driver identifier is "sdx~"
Where "sd" indicates the device type where the partition is located. Here is the scsi hard disk.
X represents the disk number (an is the basic disk, b is the basic slave disk, c is the secondary master disk, d is the secondary slave disk)
~ represents partitions. The first four partitions are represented by the number 1-4. They are primary or extended partitions.
For example, sda3 indicates that he is the third partition on the first scsi hard drive, and sdb3 represents the third primary or extended partition on the second scsi hard disk.
In addition, for IDE hard disk, it is expressed as "hdx~", where hd is represented as IDE hard disk type, and the other is the same as scsi.
Using the df / boot command, you can see which disk partition the boot directory is mounted under, which is displayed on my system as follows:
/ dev/sda1 means he is mounted under the first primary partition of the scsi hard drive.
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
Thank you for your reading. I believe you have a certain understanding of the problem of "what is the representation of disk partitions in the Linux system?" go ahead and practice it. If you want to know more about it, you can follow the website! The editor will continue to bring you better articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.