Disk Partition: fdisk

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.