小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

linux 下硬盤分區(qū)

 todaytomo 2007-06-13
Linux 下硬盤分區(qū)實踐
1、linux下硬盤管理簡介
      和Windows為每一個分區(qū)設定一個驅(qū)動和盤符不同,Linux把所有的硬盤當作一個整體來看--全部掛載于/文件系統(tǒng)下面。但是Linux還是沿用MS/DOC的硬盤物理分區(qū)模式:主分區(qū)(擴展分區(qū))+邏輯分區(qū)(logical)模式。這里區(qū)分一下主分區(qū)(primary)和擴展分區(qū)(extended),簡單的說,一塊硬盤最多有4個主分區(qū),如果需要繼續(xù)增加硬盤的分區(qū),那么就要把主分區(qū)設置成擴展分區(qū),在擴展分區(qū)上面進行邏輯分區(qū)的劃分,而邏輯分區(qū)的數(shù)量是沒有限制的。實際上應該說:主分區(qū)數(shù)目+擴展分區(qū)數(shù)目<=4。
2、linux下分區(qū)工具fdisk
      用法:fdisk device。
      進去之后,輸入m查看幫助信息,可以看到:
Command (m for help): 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)
輸入n增加分區(qū),輸入d刪除分區(qū)。
完成之后輸入w保存。
注意:如果出現(xiàn)
WARNING: Re-reading the partition table failed with error 16: Device or resource
busy.
The kernel still uses the old table.
The new table will be used at the next reboot.

則表示內(nèi)核沒有立刻更新硬盤表項需要重啟的時候更新,但這是由于新分的硬盤沒有格式化可能會導致文件系統(tǒng)監(jiān)測不能通過。
解決的辦法是用portprobe命令來更新內(nèi)核的硬盤表項。這樣就不需要重啟了。
 

    本站是提供個人知識管理的網(wǎng)絡存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多