mkfs

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



åå
       mkfs - Linux ã®ãã¡ã¤ã«ã·ã¹ãã ãæ§ç¯ãã

æ¸å¼
       mkfs [ -V ] [ -t fstype ] [ fs-options ] filesys [ blocks ]

説æ
       mkfs 㯠Linux ã®ãã¡ã¤ã«ã·ã¹ãã ãããã¤ã¹ (é常ã¯ãã¼ããã£ã¹ã¯ã®ãã¼ãã£
       ã·ã§ã³) ä¸ã«æ§ç¯ããããã«ç¨ããããã filesys ã¯ãã¡ã¤ã«ã·ã¹ãã ãä½æããããã¤ã¹ã®åå
       (/dev/hda1,/dev/sdb2 ãªã©) ã§ããã blocks ã¯ä½æãããã¡ã¤ã«ã·ã¹ãã ã®ãã‐
       ãã¯æ°ã§ããã

       mkfs ã®æ»ãå¤ (exit code) ã¯æåããã° 0ã失æããå ´å㯠1 ã§ããã

       å®é㯠mkfs ã¯åãªãããã³ãã¨ã³ãã«ãããªãã Linux ã§å©ç¨ã§ãããã¡ã¤ã«ã·ã¹ãã
       ã«ã¯æ§ããªãã®ãããããå®éã®ãã¡ã¤ã«ã·ã¹ãã ã®ä½æã¯ããããã¡ã¤ã«
       ã·ã¹ãã ã«å°ç¨ã®ããã°ã©ã  (mkfs.fstype) ãè¡ãã åãã¡ã¤ã«ã·ã¹ãã ç¨ã®ä½æãã‐
       ã°ã©ã ã®æ¢ç´¢ã¯ããããããªãã£ã¬ã¯ããªã§ è¡ãããã
       /sbin,/sbin/fs,/sbin/fs.d,/etc/fs,/etc ãªã©ã対象ã¨ãªã
       (å®éã®ãªã¹ãã¯ã³ã³ãã¤ã«æã«æ±ºå®ãããããå°ãªãã¨ã /sbin 㨠/sbin/fs
       ã¯å¿ãå«ã¾ãã)ã æå¾ã«ç°å¢å¤æ° PATH ä¸ã®ãã£ã¬ã¯ããªãæ¢ç´¢ãããã
       詳細ã«ã¤ãã¦ã¯åãã¡ã¤ã«ã·ã¹ãã ç¨ä½æããã°ã©ã ã® ããã¥ã¢ã«ãã¼ã¸ãè¦ã¦ã»ããã

ãªãã·ã§ã³
       -V     詳細ãªæå ±ã表示ããããã¡ã¤ã«ã·ã¹ãã å°ç¨ã³ãã³ãã¨ãã¦
              ã©ã®ãããªãã®ãå®è¡ããããã表示ããã ãã®ãªãã·ã§ã³ã 2
              ã¤ä»¥ä¸æå®ããã¨ãå°ç¨ã³ãã³ãã®å®è¡ãè¡ããªãã ããã¯ãã¹ãç¨ã®ãã®ã§ããã

       -t fstype
              ä½æãããã¡ã¤ã«ã·ã¹ãã ã®ã¿ã¤ããæå®ãããæå®ãããªãã£ãå ´åã¯
              ããã©ã«ãã®ãã¡ã¤ã«ã·ã¹ãã ã¿ã¤ã (ç¾å¨ã¯ ext2) ãç¨ããããã

       fs-options
              å®éã®ãã¡ã¤ã«ã·ã¹ãã ä½æãè¡ãã³ãã³ãã«æ¸¡ãããã¡ã¤ã«ã·ã¹ãã åº
              æã®ãªãã·ã§ã³ãæå®ããã
              ä¿è¨¼ããã¦ããããã§ã¯ãªããã以ä¸ã®ãªãã·ã§ã³ã¯ã»ã¨ãã©ã®ãã¡ã¤ã«ã·ã¹
              ãã ä½æããã°ã©ã ã§ãµãã¼ãããã¦ããã

       -c     ãã¡ã¤ã«ã·ã¹ãã ãä½æããåã«ãããã¤ã¹ã«å¯¾ãã¦ä¸è¯ãããã¯ã®æ¤æ»ãè¡ ãã

       -l filename
              ä¸è¯ãããã¯ã®ãªã¹ãã filename ããèªã¿è¾¼ãã

       -v     詳細ãªè¡¨ç¤ºãåºåããã

ãã°
       mkfs  ã®å¨ã¦ã®æ±ç¨ãªãã·ã§ã³ã¯ããã¡ã¤ã«ã·ã¹ãã åºæã®ãªãã·ã§
       ã³ã«åªåãã¹ãã§ãããã¾ãæ±ç¨ã®ãªãã·ã§ã³ã¨åºæã®ãªãã·ã§ã³ã¨ã
       çµã¿åãããããã¹ãã§ããªãã å種ãã¡ã¤ã«ã·ã¹ãã ã®å°ç¨ããã°ã©ã ã«ã¯ã -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.bfs(8),
       mkfs.ext2(8), mkfs.ext3(8), mkfs.minix(8), mkfs.msdos(8), mkfs.vfat(8),
       mkfs.xfs(8), mkfs.xiafs(8)



Version 1.9                        Jun 1995                            MKFS(8)