日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

Linux fdisk命令 | 菜鳥(niǎo)教程

 狗尾草p3fbgduj 2020-11-19

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

語(yǔ)法

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

必要參數(shù):

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

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

選擇參數(shù):

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

  • -v 版本信息

菜單操作說(shuō)明

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

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

  • d :刪除分區(qū)

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

  • n :新建分區(qū)

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

  • q :退出不保存

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

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

  • w :保存修改

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

實(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硬盤(pán)的每個(gè)分區(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

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

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類(lèi)似文章 更多