Annotations:
Command (M for help): pressing m here will output assistance:
Command Action
A toggle a bootable flag
b Edit BSD Disklabel
C Toggle the DOS compatibility flag
D Delete a partition note: This is the action of deleting a partition;
L list Known partition types Note: L is a list of partition types for us to set the corresponding partition type;
M Print this menu note: M is a list of help information;
n Add a new partition note: Add a partition;
o Create a new empty DOS partition table
P Print the Partition table Note: P lists the partition table;
Q Quit without saving changes Note: Do not save the exit;
s create a new empty Sun Disklabel
t change a partition ' s system ID Note: T changes the partition type;
U Change display/entry units
V Verify the partition table
W Write table to disk and exit Note: Write the partition table to the hard disk and exit;
X Extra functionality (experts only) Note: Extended applications, expert features
This article is from the "small White love life" blog, please be sure to keep this source http://sf1314.blog.51cto.com/13295031/1977343
Linux disk partition fdisk command in detail