mkfs - build a Linux filesystem


   mkfs [options] [-t type] [fs-options] device [size]


   This  mkfs  frontend  is  deprecated  in  favour of filesystem specific
   mkfs.<type> utils.

   mkfs is used to build a Linux filesystem on a device,  usually  a  hard
   disk  partition.   The  device argument is either the device name (e.g.
   /dev/hda1, /dev/sdb2),  or  a  regular  file  that  shall  contain  the
   filesystem.   The  size argument is the number of blocks to be used for
   the filesystem.

   The exit code returned by mkfs is 0 on success and 1 on failure.

   In actuality, mkfs is simply a front-end  for  the  various  filesystem
   builders  (mkfs.fstype) available under Linux.  The filesystem-specific
   builder is searched for via your PATH environment setting only.  Please
   see the filesystem-specific builder manual pages for further details.


   -t, --type type
          Specify  the  type of filesystem to be built.  If not specified,
          the default filesystem type (currently ext2) is used.

          Filesystem-specific options to be passed to the real  filesystem

   -V, --verbose
          Produce   verbose   output,  including  all  filesystem-specific
          commands that are executed.  Specifying this  option  more  than
          once  inhibits  execution  of  any filesystem-specific commands.
          This is really only useful for testing.

   -V, --version
          Display version information and exit.  (Option -V  will  display
          version   information  only  when  it  is  the  only  parameter,
          otherwise it will work as --verbose.)

   -h, --help
          Display help text and exit.


   All generic options must precede and not be combined  with  filesystem-
   specific   options.    Some   filesystem-specific   programs   do   not
   automatically detect the device size and require the size parameter  to
   be specified.


   David Engel (
   Fred N. van Kempen (
   Ron Sommeling (
   The  manual  page  was shamelessly adapted from Remy Card's version for
   the ext2 filesystem.


   fs(5), badblocks(8), fsck(8), mkdosfs(8), mke2fs(8), mkfs.bfs(8),
   mkfs.ext2(8), mkfs.ext3(8), mkfs.ext4(8), mkfs.minix(8), mkfs.msdos(8),
   mkfs.vfat(8), mkfs.xfs(8)


   The mkfs command is part of the util-linux  package  and  is  available

More Linux Commands

Math::Complex(3pm) - complex numbers and associated mathemat
This package lets you create and manipulate complex numbers. By default, Perl limits itself to real numbers, but an extra use statement brings full complex supp

paste(1) - merge lines of files (Commands - Linux man page)
Write lines consisting of the sequentially corresponding lines from each FILE, separated by TABs, to standard output. With no FILE, or when FILE is -, read stan

Cyrus::SIEVE::managesieve(3pm) - Perl extension for blah bla
Call sieve_get_handle to get a handle for further calls. sieve_get_error will return a string representing the last error, if any. Blah blah blah. AUTHOR T. Mar

svc_getcaller(3) - library routines for remote procedure cal
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

statfs(2) - get file system statistics - Linux manual page
The function statfs() returns information about a mounted filesystem. path is the pathname of any file within the mounted filesystem. buf is a pointer to a stat

XRectangle(3) - draw rectangles and rectangles structure....
The XDrawRectangle and XDrawRectangles functions draw the outlines of the specified rectangle or rectangles as if a five-point PolyLine protocol request were sp

XDeleteDeviceProperty(3) - Get, change or delete a device's
The XGetDeviceProperty function returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items transfe

wmouse_trafo(3ncurses) - mouse interface through curses.....
These functions provide an interface to mouse events from ncurses(3NCURSES). Mouse events are represented by KEY_MOUSE pseudo-key values in the wgetch input str

glEdgeFlag(3gl) - flag edges as either boundary or nonbounda
Each vertex of a polygon, separate triangle, or separate quadrilateral specified between a glBegin/glEnd pair is marked as the start of either a boundary or non

glScaled(3gl) - multiply the current matrix by a general sca
glScale produces a nonuniform scaling along the x, y, and z axes. The three parameters indicate the desired scale factor along each of the three axes. The curre

Tk_DefineBitmap(3) - maintain database of single-plane pixma
These procedures manage a collection of bitmaps (one-plane pixmaps) being used by an application. The procedures allow bitmaps to be re-used efficiently, thereb

glTexParameterf(3gl) - set texture parameters (Man Page)....
Texture mapping is a technique that applies an image onto an objects surface as if the image were a decal or cellophane shrink-wrap. The image is created in tex

We can't live, work or learn in freedom unless the software we use is free.