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

分享

Linux fdisk命令 | 菜鳥教程

 狗尾草p3fbgduj 2020-11-19

Linux fdisk是一個創(chuàng)建和維護(hù)分區(qū)表的程序,它兼容DOS類型的分區(qū)表、BSD或者SUN類型的磁盤列表。

語法

fdisk [必要參數(shù)][選擇參數(shù)]

必要參數(shù):

  • -l 列出素所有分區(qū)表

  • -u 與'-l'搭配使用,顯示分區(qū)數(shù)目

選擇參數(shù):

  • -s<分區(qū)編號> 指定分區(qū)

  • -v 版本信息

菜單操作說明

  • m :顯示菜單和幫助信息

  • a :活動分區(qū)標(biāo)記/引導(dǎo)分區(qū)

  • d :刪除分區(qū)

  • l :顯示分區(qū)類型

  • n :新建分區(qū)

  • p :顯示分區(qū)信息

  • q :退出不保存

  • t :設(shè)置分區(qū)號

  • v :進(jìn)行分區(qū)檢查

  • w :保存修改

  • x :擴(kuò)展應(yīng)用,高級功能

實(shí)例

顯示當(dāng)前分區(qū)情況:

# fdisk -lDisk /dev/sda: 10.7 GB, 10737418240 bytes255 heads, 63 sectors/track, 1305 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes  Device Boot   Start     End   Blocks  Id System/dev/sda1  *      1     13   104391  83 Linux/dev/sda2       14    1305  10377990  8e Linux LVMDisk /dev/sdb: 5368 MB, 5368709120 bytes255 heads, 63 sectors/track, 652 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdb doesn't contain a valid partition table

顯示SCSI硬盤的每個分區(qū)情況

# fdisk -lu Disk /dev/sda: 10.7 GB, 10737418240 bytes255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectorsUnits = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System/dev/sda1 * 63 208844 104391 83 Linux/dev/sda2 208845 20964824 10377990 8e Linux LVMDisk /dev/sdb: 5368 MB, 5368709120 bytes255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectorsUnits = sectors of 1 * 512 = 512 bytesDisk /dev/sdb doesn't contain a valid partition table

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

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多