cdist-type__install_mkfs(7)

cdist-type__install_mkfs7

Build a linux file system

Overview

This cdist type is a wrapper for the mkfs command.

Required parameters

type

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

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

Examples

# reiserfs /dev/sda5
__install_mkfs /dev/sda5 --type reiserfs
# same thing with explicit device
__install_mkfs whatever --device /dev/sda5 --type reiserfs
# jfs with journal on /dev/sda2
__install_mkfs /dev/sda1 --type jfs --options "-j /dev/sda2"

Copying

Copyright (C) 2011 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Authors

Steven Armstrong <[email protected]>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.