Disk Partition: fdisk disk partition: fdisk root @ cnws-PC :~ # Fdisk [-l] device name selection without parameters:-l: output all the partition content following the partition device. If there is only fdisk-l, the system will list the partition partitions that can be searched for in the entire system. Example: Find the disk where the root category is located in your system, and check the information about the category in the disk. root @ cnws-PC :~ # Df/<= Note: the key is to find the disk file name. File System 1 K-block used available % mount point/dev/sdb8 58820956 3847040 52027408 7%/root @ cnws-PC :~ # Fdisk/dev/sdb <= look, I need to add a number! Command (m for help): m <== wait for your pipeline to enter! Command action a toggle a bootable flag B edit bsd disklabel c toggle the dos compatibility flag d delete a partition <= delete a partition l list known partition types m print this menu n add a new partition <= Add a partition o create a new empty DOS partition table p print the partition table <= display the split table q quit without saving changes on the screen <= save and quit fdisk program s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit <= partition partition as write Partition Table x extra functionality (experts only)