summaryrefslogtreecommitdiffstats
path: root/disk-utils/mkfs.8
diff options
context:
space:
mode:
authorPeter Breitenlohner2009-07-22 11:13:21 +0200
committerKarel Zak2009-08-17 12:11:04 +0200
commit039f35318bf506c7c37df684f747c2fd88f70b5f (patch)
tree911e8f888b58e48960205461d6a716466a023a04 /disk-utils/mkfs.8
parentdmesg: add -r to help output (diff)
downloadkernel-qcow2-util-linux-039f35318bf506c7c37df684f747c2fd88f70b5f.tar.gz
kernel-qcow2-util-linux-039f35318bf506c7c37df684f747c2fd88f70b5f.tar.xz
kernel-qcow2-util-linux-039f35318bf506c7c37df684f747c2fd88f70b5f.zip
mkfs.8: incomplete sentence and formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Diffstat (limited to 'disk-utils/mkfs.8')
-rw-r--r--disk-utils/mkfs.827
1 files changed, 10 insertions, 17 deletions
diff --git a/disk-utils/mkfs.8 b/disk-utils/mkfs.8
index 0422c1066..80bfcb958 100644
--- a/disk-utils/mkfs.8
+++ b/disk-utils/mkfs.8
@@ -4,20 +4,12 @@
mkfs \- build a Linux file system
.SH SYNOPSIS
.B mkfs
-[
-.B \-V
-]
-[
-.B \-t
-.I fstype
-]
-[
-.B fs-options
-]
+.RB [ \-V ]
+.RB [ \-t
+.IR fstype ]
+.RI [ fs-options ]
.I filesys
-[
-.I blocks
-]
+.RI [ blocks ]
.SH DESCRIPTION
.B mkfs
is used to build a Linux file system on a device, usually
@@ -25,7 +17,8 @@ a hard disk partition.
.I filesys
is either the device name (e.g.
.IR /dev/hda1 ,
-.IR /dev/sdb2 ).
+.IR /dev/sdb2 ),
+or a regular file that shall contain the file system.
.I blocks
is the number of blocks to be used for the file system.
.PP
@@ -36,7 +29,7 @@ is 0 on success and 1 on failure.
In actuality,
.B mkfs
is simply a front-end for the various file system builders
-(\fBmkfs\fR.\fIfstype\fR)
+(\fBmkfs.\fIfstype\fR)
available under Linux.
The file system-specific builder is searched for in a number
of directories like perhaps
@@ -68,8 +61,8 @@ Specifies the type of file system to be built.
If not specified, the default file system type
(currently ext2) is used.
.TP
-.B fs-options
-File system-specific options to be passed to the real file
+.I 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.