【Shell】fdisk


【目的】

了解 Partition type

【方式】

使用 fdisk 自帶的 l 參數。

$ fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002c4f9

所用裝置 Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1494    12000523+  83  Linux
/dev/sda2            1495        1566      578340    5  延伸的
/dev/sda3            1567        2610     8385930   83  Linux
/dev/sda5            1495        1566      578308+  82  Linux swap / Solaris
 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com