iT邦幫忙

0

ubuntu 磁碟檔案問題

各位先進大家好:
我在terminal下輸入ls /dev 然後裡面有五個資料夾sda,sda1,sda2,sda5,sda6
當初安裝的時候/ 10G , /home 6G , swap 1G
sda,sd2,sda6是代表什麼?
df 顯示的資料

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

14
bizpro
iT邦大師 1 級 ‧ 2010-12-14 12:02:35
最佳解答

sda: SCSI, SATA, 或USB等儲存裝置, 用sd開頭, a為第一顆儲存裝置, b為第二顆, 依此類推
sda1. sda2....,sda6,...,etc, 表示sda上的分割區(partitions).

(以前的ide則為hd開頭)

johnny0542提到:
sd2,sda6

我現在不知道 sda2 sda6 是什麼?

bizpro iT邦大師 1 級 ‧ 2010-12-15 22:19:19 檢舉

$ sudo fdisk -l
以root的權限執行:

fdisk -l

加不加 /dev/sda都行.

6
sula3065408
iT邦研究生 1 級 ‧ 2010-12-14 18:31:19
<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)

這只是進入fdisk的畫面

sula3065408 iT邦研究生 1 級 ‧ 2010-12-15 14:35:23 檢舉

df畫面(基礎部分)去鳥哥網站看就有了阿
不了sda2/sda6就印出partition table就知道了吧

我要發表回答

立即登入回答