mkfs

MKFS(8)                     System Manager's Manual                    MKFS(8)



NAME
       mkfs - å建ä¸ä¸ª Linux æ件系ç»

æ»è§
       mkfs [ -V ] [ -t æ件系ç»ç±»å ] [ fs-é项 ] æä»¶ç³»ç» [ å ]

æè¿°
       mkfs mkfs ç¨æ¥å¨æå®è®¾å¤å建ä¸ä¸ª Linux æ件系ç»ï¼ é常æ¯å¨ç¡¬çä¸ã
       æä»¶ç³»ç» æ¢å¯ä»¥æ¯è®¾å¤åï¼ï¼å¦ï¼ /dev/hda1ï¼ /dev/sdb2ï¼
       ä¹å¯ä»¥æ¯æ件系ç»çæè½½ç¹ï¼ï¼å¦ï¼ /ï¼ /usrï¼ /homeï¼ã å
       æ¯æ该æ件系ç»ç¨çåæ°ã

       å¦æ mkfs æåæ§è¡æ¶è¿åå¼ä¸º 0ï¼åä¹ï¼åæ¯ 1ã

       äºå®ä¸ï¼ mkfs æ¯å¨ Linux ä¸åæ件系ç»ä¸ç¨ç¨åº ï¼mkfs.fstypeï¼
       çå端ç¨åºãåæ件系ç»ä¸ç¨ç¨åºå¯ä»¥å¨ /sbinï¼ /sbin/fsï¼ /sbin/fs.dï¼
       /etc/fsï¼ /etc çç®å½ä¸æ¾å°ï¼
       ï¼ç²¾ç¡®å®ä¹ä¸è¬é½å¨ç¼è¯åæ ¸æ¶å®ä¹ï¼ä½é常åå«æ /sbin å /sbin/fsï¼ï¼
       并æç»å¨ç¯å¢åé PATH ååºçç®å½ä¸ï¼
       å¦è¦è·åæ´å¤å³äºç¸åºæ件系ç»çå建工å·çä¿¡æ¯ï¼å¯åèç¸åºå¸®å©æåã

é项
       -V     è¾åºåé¿ç帮å©ä¿¡æ¯ï¼å¶ä¸åæ¬æ§è¡çåç§ç³»ç»ç¸å³çå½ä»¤ï¼
              ä¸è¡å½ä»¤ä¸åºç°å¤ä¸ªæ¤åæ°å¯ç¦æ¢ææç³»ç»ç¸å³å½ä»¤çæ§è¡ã
              è¿ä¸ªåæ³å®éä¸ä¹æ¯å¨æµè¯æ¶æç¨ã

       -t æ件系ç»ç±»å
              æå®æè¦å建çæ件系ç»ç±»åãå¦æ²¡æä»»ä½æå®ï¼
              å使ç¨ç¼ºççæ件系ç»ç±»åï¼ç®åæ¯ ext2ï¼ã

       fs-é项
              è¦ä¼ éç»å®éçæ件系ç»å¶ä½å·¥å·çæ件系ç»ç¸å³çé项ã
              è½ç¶æ们ä¸è½ä¿è¯ï¼ä½æ¯ç»å¤§é¨åæ件系ç»å¶ä½å·¥å·æ¯æä¸é¢çé项ã

       -c     å¨å建æ件系ç»ä¹åè¿è¡è®¾å¤ååæ£æ¥ã

       -l filename
              ä»æå®æ件 filename ä¸è¯»åååä¿¡æ¯ã

       -v     产çåé¿è¾åºä¿¡æ¯ã

èè«
       ææéç¨é项须é¦åå®ä¹å¹¶ä¸ä¸è½ä¸æ件系ç»ç¸å³ç é项å并ã
       ä¸äºæå®æ件系ç»å建工å·ä¸æ¯æ -v é项ï¼ä¹ä¸ä¼è¿åææä¹çè¿åå¼ã
       æäºæå®æ件系ç»å建工å·ä¸ä¼èªå¨ä¾¦æµç£ç设å¤ç大å°ï¼å æ¤éè¦å£°æ blocks
       ã

å¼å人å
       David Engel (david@ods.com)
       Fred N. van Kempen (waltje@uwalt.nl.mugnet.org)
       Ron Sommeling (sommel@sci.kun.nl)
       è¿ä¸ªæå页æ¯æ è»å°ä» Remy Card 为 ext2 æä»¶ç³»ç» åççæ¬æè¿æ¥çã

åè§
       fs(5), badblocks(8), fsck(8), mkdosfs(8), mke2fs(8), mkfs.ext2(8),
       mkfs.minix(8), mkfs.msdos(8), mkfs.xiafs(8)


[ä¸æçç»´æ¤äºº]
       æç½é¨ <solomen@email.com.cn>

[ä¸æçææ°æ´æ°]
       2001/05/01

ãä¸å½Linux论åmanæå页翻è¯è®¡åã:
       http://cmpp.linuxforum.net


è·
       æ¬é¡µé¢ä¸æçç±ä¸æ man æå页计åæä¾ã
       ä¸æ man æå页计åï¼https://github.com/man-pages-zh/manpages-zh



Version 1.9                        Jun 1995                            MKFS(8)