sda: SCSI, SATA, 或USB等儲存裝置, 用sd開頭, a為第一顆儲存裝置, b為第二顆, 依此類推
sda1. sda2....,sda6,...,etc, 表示sda上的分割區(partitions).
(以前的ide則為hd開頭)
<pre class="c" name="code">
#fdisk /dev/sda
...
Command (m for help): m <== 輸入 m 後,就會看到底下這些指令介紹
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table <==在螢幕上顯示分割表
q quit without saving changes <==離開
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
x extra functionality (experts only)