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 mpartition command in linux to create or delete partitions for MS-DOS

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail about using the mpartition command in linux to create or delete MS-DOS partitions. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Before you talk about this command, you need to understand the concepts and differences between directories and partitions:

The partition of Linux is a physical concept, which physically separates the storage space; the directory of Linux is a logical concept, and the directory tree of Linux is actually a data logical structure relationship between partitions, not a physical structure; a partition must be mounted under a directory before it can be used, and a partition can be mounted to any directory

Summary: partition is the real place to store data, there is only one piece of data. A directory is a logical mapping of partition data, just like shortcuts in Windows systems, where partition data can be mounted to any number of different directories, which, like shortcuts with different names, point to the same partition data.

Mpartition is a mtools tool command that can create or delete disk partitions. The mpartition command is used to create or delete partitions for MS-DOS. Disk partitioning can be done well with this command.

Syntax format: mpartition [parameters]

Common parameters:

Reference example

Set / etc/linuxcool to bootable partition:

[root@linuxcool] # mpartition-a / etc/linuxcool

Delete the specified partition:

[root@linuxcool] # mpartition-r / etc/linuxcool

Create a new partition:

[root@linuxcool] # mpartition-c / etc/linuxcool this is the end of sharing about creating or deleting MS-DOS partitions using the mpartition command in linux. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it 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.

Share To

Servers

Wechat

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

12
Report