Welcome to the Reiser4 Wiki, the Wiki for users and developers of the ReiserFS and Reiser4 filesystems.

For now, most of the documentation is just a snapshot of the old Namesys site (archive.org, 2007-09-29).

There was also a Reiser4 Wiki (archive.org, 2007-07-06) once on pub.namesys.com.

Mkfs.reiser4

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
m (category added)
(add "-d, --discard" mkfs option to the manpage)
 
Line 43: Line 43:
 
       -s, --lost-found
 
       -s, --lost-found
 
               forces mkfs to create lost+found directory.
 
               forces mkfs to create lost+found directory.
 +
 +
      -d, --discard
 +
              tells mkfs to discard given device before creating the filesystem (for solid state drives).
 +
  
  

Latest revision as of 16:28, 30 August 2015

Contents

[edit] NAME

mkfs.reiser4 - the program for creating reiser4 filesystems


[edit] SYNOPSIS

      mkfs.reiser4 [ options ] FILE1 FILE2 ... [ size[K|M|G] ]


[edit] DESCRIPTION

mkfs.reiser4 is reiser4 filesystem creation program. It is based on new libreiser4 library. Since libreiser4 is fully plugin-based, we have the potential to create not just reiser4 partitions, but any filesystem or database format, which is based on balanced trees.


[edit] COMMON OPTIONS

      -V, --version
             prints program version.
      -?, -h, --help
             prints program help.
      -y, --yes
             assumes an answer ’yes’ to all questions.
      -f, --force
             forces mkfs to use whole  disk,  not  block  device  or  mounted
             partition.


[edit] MKFS OPTIONS

      -b, --block-size N
             block size to be used (architecture page size by default)
      -L, --label LABEL
             volume label to be used
      -U, --uuid UUID
             universally unique identifier to be used
      -s, --lost-found
             forces mkfs to create lost+found directory.
      -d, --discard
             tells mkfs to discard given device before creating the filesystem (for solid state drives).


[edit] PLUGIN OPTIONS

      -p, --print-profile
             prints  the  plugin  profile. This is the set of default plugins
             used for all parts of a  filesystem  --  format,  nodes,  files,
             directories,  hashes,  etc.  If  --override  is  specified, then
             prints modified plugins.
      -l, --print-plugins
             prints all plugins libreiser4 know about.
      -o, --override TYPE=PLUGIN, ...
             overrides the default plugin of the type "TYPE"  by  the  plugin
             "PLUGIN" in the plugin profile.


[edit] EXAMPLES

Assign short key plugin to "key" field in order to create filesystem with short keys policy:

             mkfs.reiser4 -yf -o key=key_short /dev/hda2


[edit] REPORTING BUGS

Report bugs to <reiserfs-devel@vger.kernel.org>

[edit] SEE ALSO

[edit] AUTHOR

This manual page was written by Yury Umanets <umka@namesys.com>

Personal tools