Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the mkfs.ext2 command of linux to establish the ext2 file system

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you the use of linux mkfs.ext2 command to establish ext2 file system, I hope you read this article after the harvest, let us discuss it together!

The mkfs.ext2 command has the same functionality as the mke2fs command. It is used to create ext2 file systems.

The Ext2 file system uses an inode-based file system.

Ext2 file system will be inode and block planning at the beginning, unless reformatted, otherwise inode and block fixed after no change, but when the number of inode and block too many, it is difficult to manage. Therefore, Ext2 is basically divided into multiple block groups when formatted, and each block group has a separate/inode/block/superblock system.

Syntax format: mkfs.ext2 [parameter]

Common parameters:

Reference Example

Create the specified ext2 file system:

[root@linuxcool ~]# mkfs.ext2 -q /dev/hda1

Check for damaged blocks:

[root@linuxcool ~]# mkfs.ext2 -c

Enforce mkfs.ext2:

[root@linuxcool ~]# mkfs.ext2 -F After reading this article, I believe you have a certain understanding of the use of linux mkfs.ext2 command to establish ext2 file system. If you want to know more about it, welcome to pay attention to the industry information channel. Thank you for reading!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report