cdist-type__mkfs(7)


Table of Contents

1. NAME
2. DESCRIPTION
3. REQUIRED PARAMETERS
4. OPTIONAL PARAMETERS
5. EXAMPLES
6. SEE ALSO
7. COPYING

1. NAME

cdist-type__mkfs - build a linux file system

2. DESCRIPTION

This cdist type is a wrapper for the mkfs command.

3. REQUIRED PARAMETERS

type
The filesystem type to use. Same as mkfs -t.

4. OPTIONAL PARAMETERS

device
defaults to object_id
options
file system-specific options to be passed to the mkfs command
blocks
the number of blocks to be used for the file system

5. EXAMPLES

# reiserfs /dev/sda5
__mkfs /dev/sda5 --type reiserfs
# same thing with explicit device
__mkfs whatever --device /dev/sda5 --type reiserfs

# jfs with journal on /dev/sda2
__mkfs /dev/sda1 --type jfs --options "-j /dev/sda2"

6. SEE ALSO

  • cdist-type(7)
  • mkfs(8)

7. COPYING

Copyright (C) 2011 Steven Armstrong. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).