2018-08-13 15:56:21 1107瀏覽
在現(xiàn)如今,有很多Linux開(kāi)發(fā)程序員會(huì)遇到硬盤(pán)分區(qū)或者需要對(duì)分區(qū)進(jìn)行格式化等問(wèn)題,今天扣丁學(xué)堂Linux培訓(xùn)老師給大家介紹一下觀月如何進(jìn)行對(duì)Linux分區(qū)格式化命令講解,下面我們一起來(lái)看一下吧。
mkfs.ext3 /dev/sdb1
mke2fs 1.41.12 (17-May-2010) 文件系統(tǒng)標(biāo)簽= 操作系統(tǒng):Linux 塊大小=4096 (log=2) 分塊大小=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 131072 inodes, 524288 blocks 26214 blocks (5.00%) reserved for the super user 第一個(gè)數(shù)據(jù)塊=0 Maximum filesystem blocks=536870912 16 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912
Creating journal (16384 blocks): 完成 Writing superblocks and filesystem accounting information: 完成 This filesystem will be automatically checked every 24 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
mkfs -t ext4 /dev/sdb5
mke2fs 1.41.12 (17-May-2010) 文件系統(tǒng)標(biāo)簽= 操作系統(tǒng):Linux 塊大小=4096 (log=2) 分塊大小=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 131072 inodes, 524288 blocks 26214 blocks (5.00%) reserved for the super user 第一個(gè)數(shù)據(jù)塊=0 Maximum filesystem blocks=536870912 16 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 正在寫(xiě)入inode表: 完成 Creating journal (16384 blocks): 完成 Writing superblocks and filesystem accounting information: 完成 This filesystem will be automatically checked every 20 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
df -hT /dev/sdb1 Filesystem Type Size Used Avail Use% Mounted on - - 492M 260K 491M 1% /dev
以上所述是小編給大家介紹的Linux分區(qū)格式化的命令,希望對(duì)大家有所幫助,想要了解更多關(guān)于Linux開(kāi)發(fā)方面內(nèi)容的小伙伴可以登錄扣丁學(xué)堂官網(wǎng)咨詢(xún)??鄱W(xué)堂有大量的Linux視頻教程讓學(xué)員免費(fèi)觀看學(xué)習(xí),想要快速學(xué)習(xí)Linux開(kāi)發(fā)就到由專(zhuān)業(yè)老師授課的扣丁學(xué)堂學(xué)習(xí)吧。扣丁學(xué)堂Linux技術(shù)交流群:422345477。
【關(guān)注微信公眾號(hào)獲取更多學(xué)習(xí)資料】
查看更多關(guān)于“Linux培訓(xùn)資訊”的相關(guān)文章>>