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

Disk partitioning using the fdisk command of linux

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

Share

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

This article mainly introduces the use of linux fdisk command disk partition, the article is very detailed, has a certain reference value, interested friends must read it!

The English full name of the fdisk command is "Partition table manipulator for Linux", which is used as a disk partitioning tool. Partitioning the hard disk is essentially a kind of formatting of the hard disk. To use a visual analogy, partitioning is like drawing a big box on a blank piece of paper, while formatting is like putting a grid in the box.

Syntax format: fdisk [parameters]

Common parameters:

-b specifies the size of each partition-l lists the partition table status of the specified peripheral-s outputs the specified partition size to the standard output, in chunks-u replaces the number of columns with the number of partitions to represent the starting address of each partition-v displays version information

Reference example

View all partitions:

[root@linuxcool ~] # fdisk-l

Select the partition disk:

[root@linuxcool ~] # fdisk / dev/sdb

Create an extended partition on the current disk:

[root@linuxcool ~] # fdisk / ext

Do not check the disk surface to speed up the partitioning operation:

[root@linuxcool ~] # fdisk / actok

Rebuild the master boot record:

[root@linuxcool ~] # fdisk / cmbr above are all the contents of disk partitions using linux's fdisk command, thank you for reading! Hope to share the content to help you, more related 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.

Share To

Servers

Wechat

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

12
Report