48 fdisk

fdisk 用来对磁盘进行分区,或者查看磁盘分区

root@ubuntu:~# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005b448

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    37797887    18897920   83  Linux
/dev/sda2        37799934    41940991     2070529    5  Extended
/dev/sda5        37799936    41940991     2070528   82  Linux swap / Solaris

fstab

48 fdisk_第1张图片
Paste_Image.png

你可能感兴趣的:(48 fdisk)