In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "what is the use of the mkfs command in Linux", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what is the use of mkfs command in Linux" this article.
The Linux common command mkfs command is used to create an Linux file system on a device (usually a hard disk). Mkfs itself does not perform the work of building a file system, but calls the relevant program to execute it.
Mkfs is used to create a Linux file system on the device
Syntax mkfs (option) (parameter) option fs: specify the parameters when establishing the file system;-t: specify which file system to establish;-v: display version information and detailed usage;-V: show brief usage;-c: check whether the partition has a bad track before making the file system. Parameter file system: specify the device file name for the file system to be created
Number of blocks: specifies the number of disk blocks for the file system.
The instance builds a msdos file system on / dev/hda5, checks whether there is a bad track, and lists the process in detail:
Mkfs-V-t msdos-c / dev/hda5 mkfs-t ext3 / dev/sda6 / / format sda6 partition into ext3 format mkfs-t ext2 / dev/sda7 / / format sda7 partition into ext2 format above is all the content of this article "what is the use of mkfs commands in Linux"? thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.