---恢复内容开始---

MKFS(8)                                                                MKFS(8)
NAME/名称
       mkfs - build a Linux file system
    构建Linux文件系统
SYNOPSIS/简介
       mkfs [ -V ] [ -t fstype ] [ fs-options ] filesys [ blocks ]
DESCRIPTION/描述
       mkfs is used to build a Linux file system on a device, usually a hard disk partition.  filesys is the device name (e.g.  /dev/hda1, /dev/sdb2).  blocks is the num-
       ber of blocks to be used for the file system.
    mkfs用于在设备(通常是硬盘分区)上构建Linux文件系统。filesys是设备名(例如/dev/hda1、/dev/sdb2)。Blocks是用于文件系统的块数。
       The exit code returned by mkfs is 0 on success and 1 on failure.
    mkfs返回的退出代码成功时为0,失败时为1。
       In actuality, mkfs is simply a front-end for the various file system builders (mkfs.fstype) available under Linux.  The file system-specific  builder  is  searched
       for in a number of directories like perhaps /sbin, /sbin/fs, /sbin/fs.d, /etc/fs, /etc (the precise list is defined at compile time but at least contains /sbin and
       /sbin/fs), and finally in the directories listed in the PATH environment variable.  Please see the file system-specific builder manual pages for further details.
    实际上,mkfs只是Linux下可用的各种文件系统构建器(mkfs.fstype)的前端。文件系统特定的生成器在许多目录中进行搜索,
    例如/sbin、/sbin/fs、/sbin/fs.d、/etc/fs,/etc(精确的列表在编译时定义,但至少包含/sbin和/sbin/fs),
    最后在path环境变量中列出的目录中进行搜索。有关详细信息,请参阅文件系统特定的生成器手册页。
OPTIONS/选项
       -V     Produce verbose output, including all file system-specific commands that are executed.  Specifying this option more than once inhibits execution of any file
              system-specific commands.  This is really only useful for testing.
     生成详细输出,包括所有执行的文件系统特定命令。多次指定此选项将禁止执行任何特定于文件系统的命令。这只对测试有用。
       -t fstype
              Specifies the type of file system to be built.  If not specified, the default file system type (currently ext2) is used.
     指定要生成的文件系统的类型。如果未指定,则使用默认的文件系统类型(当前为ext2)。
       fs-options
              File system-specific options to be passed to the real file system builder.  Although not guaranteed, the following options are supported by most file system
              builders.
     要传递给真实文件系统生成器的文件系统特定选项。尽管没有保证,但大多数文件系统构建器都支持以下选项。
       -c     Check the device for bad blocks before building the file system.
     在构建文件系统之前,请检查设备是否存在坏块。
       -l filename
              Read the bad blocks list from filename
     从文件名读取坏块列表
       -v     Produce verbose output.
           生成详细输出
BUGS/漏洞
       All generic options must precede and not be combined with file system-specific options.  Some file system-specific programs do not support the -v (verbose) option,
       nor  return  meaningful  exit  codes.   Also, some file system-specific programs do not automatically detect the device size and require the blocks parameter to be
       specified.
    所有常规选项都必须在前面,不能与特定于文件系统的选项组合使用。某些特定于文件系统的程序不支持-v(verbose)选项,也不返回有意义的退出代码。
    此外,某些特定于文件系统的程序不会自动检测设备大小,并且需要指定blocks参数。
AUTHORS/作者
       David Engel (david@ods.com)
       Fred N. van Kempen (waltje@uwalt.nl.mugnet.org)
       Ron Sommeling (sommel@sci.kun.nl)
       The manual page was shamelessly adapted from Remy Card?. version for the ext2 file system.
SEE ALSO/参照
       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)

---恢复内容结束---

man mkfs的更多相关文章

  1. 分区格式化mkfs

    mkfs —  build a Linux filesystem 用法举例: mkfs.ext3  /dev/sdb1 #把sdb1格式化为ext3文件系统 也可以写成 mkfs -t ext3 /d ...

  2. 【linux磁盘分区--格式化】fdisk,parted,mkfs.ext3

    磁盘分区完成后,一般就需要对分区进行格式化 磁盘分区命令主要有两个: fdisk :最大支持不超过2T分区: parted :支持GPT,适用于大容量分区: 分区指令的选择: 在RHEL系统上,用fd ...

  3. 【转】linux之mkfs/mke2fs格式化

    转自:http://blog.csdn.net/andyhooo/article/details/5321584 mkfs [root@www ~]# mkfs [-t 檔案系統格式] 裝置檔名 選項 ...

  4. linux mkfs命令参数及用法详解---linux格式化文件系统命令(包括swap分区)

    mkfs 命令  linux格式化磁盘命令           linux mkfs         指令:mkfs 使用权限 : 超级使用者 使用方式 : mkfs [-V] [-t fstype] ...

  5. mkfs 的使用

    使用方法: [root@localhost beinan]# mkfs -t 文件系统  存储设备 注:这里的文件系统是要指定的,比如 ext3 :reiserfs :ext2 :fat32 :msd ...

  6. LVM pvcreate,vgcreate,lvcreate,mkfs

    首先介绍LVM的几个概念:     1. 物理卷Physical volume (PV):可以在上面建立卷组的媒介,可以是硬盘分区,也可以是硬盘本身或者回环文件(loopback file).物理卷包 ...

  7. mkfs -t ext3 错误/dev/sdxx is apparently in use by the system; 解决方法

     在存储上共享了一个500G的空间,映射到Linux系统提供上,环境由2个节点组成. 一. 测试一: 直接mount 用fdisk 格式化之后如下: [root@rac1 u01]# fdisk ...

  8. linux下磁盘分区详解 图文(fdisk;mkfs)

    linux分区不同于windows,linux下硬盘设备名为(IDE硬盘为hdx(x为从a-d)因为IDE硬盘最多四个,SCSI,SATA,USB硬盘为sdx(x为a-z)),硬盘主分区最多为4个,不 ...

  9. Linux磁盘 - fdisk,partprobe, mkfs, mke2fs, fsck, badblocks, mount, mknod

    磁盘分区: fdisk [root@www ~]# fdisk [-l] 装置名称 选项与参数: -l :输出后面接的装置所有的 partition 内容.若仅有 fdisk -l 时, 则系统将会把 ...

  10. mkfs.ext4快速格式化大容量硬盘

    安装ext4: yum -y install e4fsprogs 使用如下命令可以快速格式化大容量硬盘: mkfs.ext4 -T largefile /dev/xxx

随机推荐

  1. 取得所有网卡的MAC地址,包括禁用的

    先在nuget包中添加System.Management.Automation引用. 然后下面就是代码了. using System;using System.Collections.ObjectMo ...

  2. [git] 如何处理push失败的commit

    在使用git及github时,遇到一个问题:commit了一个超过100M的大文件,然后在push时失败,然后就再也无法push了,本地大文件删除了,再commit,再push也还是提示有大文件提交. ...

  3. 用Python给头像加上圣诞帽或圣诞老人小图标

    随着圣诞的到来,想给给自己的头像加上一顶圣诞帽.如果不是头像,就加一个圣诞老人陪伴.   用Python给头像加上圣诞帽,看了下大概也都是来自2017年大神的文章:https://zhuanlan.z ...

  4. 十九、python内置函数汇总

    '''内置函数abs():取绝对值all():每个元素都为真,才是真any():有一个元素为真即为真bin():十进制转二进制hex():十进制转十六进制int():所有的转成十进制oct():十进制 ...

  5. accomplish、complete、finish、achieve和fulfill

    accomplish to succeed in doing something, especially after trying very hard vt. 完成:实现:达到 complete us ...

  6. 关于一段有趣代码引出的String创建对象的解释

    通常来说,我们认为hashCode不相同就为不同的对象.就这样由一段代码引发了一场讨论,代码如下: @Test public void stringCompare() { String s1 = &q ...

  7. netcore2.1 在后台运行一个任务

    在 ASP.NET Core 2.1中, 提供了一个名为BackgroundService的类,在 Microsoft.Extensions.Hosting命名空间中,其代码为 namespace M ...

  8. 自动化测试--利用opencv进行图像识别与定位

    SIFT检测方法 SIFT算法就是把图像的特征检测出来,通过这些特征可以在众多的图片中找到相应的图片 import cv2 #读取图片,以1.png为例 img=cv2.imread('1.png') ...

  9. [Python3 填坑] 018 组装类的几个例子

    目录 1. print( 坑的信息 ) 2. 开始填坑 2.1 MetaClass 举例 2.2 type 举例 2.3 MetaClass 举例 1. print( 坑的信息 ) 挖坑时间:2019 ...

  10. SpringBoot(四) -- SpringBoot与Web开发

    一.发开前准备 1.创建一个SpringBoot应用,引入我们需要的模块 2.SpringBoot已经默认将这些场景配置好了,只需要在配置文件中指定少量配置,就能运行起来 3.编写业务代码 二.静态资 ...