In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the example analysis of the fstab file format. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Important partition-related information is stored in the fstab file, in which each behavior has a partition record, and each line can be divided into six parts. The following is an example of / dev/hda7 / ext2 defaults 11 to illustrate the format of fstab:
1. The first is the physical location of the storage device you want for mount, such as hdb or / dev/hda6.
two。 The second item is the directory location you want to add it to, such as / home or /, which is actually the mount point prompted during installation.
3. The third item is the so-called local filesystem, which contains the following formats: such as ext, ext2, msdos, iso9660, nfs, swap, etc., or such as ext2, you can see the / prco/filesystems instructions.
4. The fourth item is the state you want to set when you mount, such as ro (read-only) or defaults (including other parameters such as rw, suid, exec, auto, nouser, async). See "mount nfs".
5. The fifth is to provide DUMP function, whether the flag bit of BACKUP is needed when the system DUMP, its internal value is 0.
6. The sixth item is to set whether the filesystem should do the action of check when starting up, except for the filesystem of root and its necessary check is 1, the other can be set as needed, and the default value is 0.
The fstab format defaults to these 6 items, and users can modify them as needed.
This is the end of this article on "sample analysis of fstab file format". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
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.