In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to understand the storage structure of Linux, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
What is a catalog? C:\, D:\, E:\, F:\ are all root directories under Windows
And in linux?
File Storage structure in Linux system
So what does each directory mean in linux?
Relative path and absolute path are concepts that must be understood in linux
Absolute path (absolute path): first come to China by plane, go to Beijing out of the Capital Airport and take the airport express to Sanyuanqiao, then change to Line 10 to Panjiayuan Station, take bus No. 34 to Nongguang Lane after leaving the station, and turn left at the intersection.
Relative path (relative path): turn left at the intersection ahead.
In linux, everything is a file, so physical devices and hardware are no exception. Since it is a file, it must have a file name. The udev device manager in the system kernel automatically standardizes the hardware name so that users can guess the general properties and partition information of the device from the name of the device file, which is especially convenient for unfamiliar devices. In addition, the udev device manager service will always run as a daemon and listen for signals from the kernel to manage the device files in the / dev directory
Nowadays, ide devices are very rare. Most of our common devices start with / dev/sd. By default, we start with a.
For example:
Do you understand a little bit after looking at this picture?
About the hard disk, I would like to popularize a little bit of science here, the hard disk is made up of a large number of sectors, the capacity of each sector is 512 bytes, of which * sectors are the most important because the master boot record and partition table information are stored in it. The master boot record takes up 446 bytes, the partition table takes 64 bytes, and the Terminator takes 2 bytes, in which 16 bytes are needed for each partition information recorded in the partition table. in this way, at most 4 partition information can be written to * sectors, which are 4 primary partitions. As shown in the picture
So in fact, when we use it, it's not just four partitions, it could be multiple partitions, so what's going on?
In fact, another extended partition is to create a pointer to another extended partition in the partition information. So we usually use three primary partitions and one extended partition. Of course, it is to create pointers to other partitions in our extended partition.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.