DOKK / manpages / debian 11 / cdist / cdist-type__install_mkfs.7.en
CDIST-TYPE__INSTALL_MKFS(7) cdist CDIST-TYPE__INSTALL_MKFS(7)

cdist-type__install_mkfs - build a linux file system

This cdist type is a wrapper for the mkfs command.

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

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

# 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"


mkfs(8)

Steven Armstrong <steven-cdist--@--armstrong.cc>

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.

ungleich GmbH 2020

February 7, 2021 6.9.4