Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the mkfs.msdos command of linux to establish the DOS file system

Shulou Source: shulou.com Published: 2022-06-02 19:45:30 09月22日 Update

In this article, let's take a look at building a DOS file system using linux's mkfs.msdos command. There is a certain reference value, friends in need can refer to, hope to help you.

The mkfs.msdos command is used to establish the DOS file system. It has the same function as the mkdosfs command.

In the DOS era, there has been the term "directory", and the directory is a tree structure, open a "folder", there may continue to be secondary folders, and then open the folder, there may be folders later, so the DOS file system is actually a tree structure.

Syntax format: mkfs.msdos [parameters]

Common parameters:

Reference example

Format the disk in slot An into DOS format and set the label to Tester:

[root@linuxcool ~] # mkfs.msdos-n Tester / dev/fd0

Check for bad rails:

[root@linuxcool] # mkfs.msdos-c

Read bad track records from the test directory:

[root@linuxcool ~] # mkfs.msdos-l test above is a brief introduction to using linux's mkfs.msdos command to build a DOS file system. Of course, you have to use the above differences in detail before you understand it. If you want to know more, welcome to follow the industry information channel!

Tags: Files commands systems folders formats directories references parameters that is structures differences similarities abbreviations values functions examples commonly used articles times more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Microsoft NVidia Shulou Information Xiaomi