1CDIST-TYPE__INSTALL_MKFS(7) cdist CDIST-TYPE__INSTALL_MKFS(7)
2
3
4
6 cdist-type__install_mkfs - build a linux file system
7
9 This cdist type is a wrapper for the mkfs command.
10
12 type The filesystem type to use. Same as used with mkfs -t.
13
15 device defaults to object_id
16
17 options
18 file system-specific options to be passed to the mkfs command
19
20 blocks the number of blocks to be used for the file system
21
23 # reiserfs /dev/sda5
24 __install_mkfs /dev/sda5 --type reiserfs
25
26 # same thing with explicit device
27 __install_mkfs whatever --device /dev/sda5 --type reiserfs
28
29 # jfs with journal on /dev/sda2
30 __install_mkfs /dev/sda1 --type jfs --options "-j /dev/sda2"
31
33 mkfs(8)
34
36 Steven Armstrong <steven-cdist--@--armstrong.cc>
37
39 Copyright (C) 2011 Steven Armstrong. You can redistribute it and/or
40 modify it under the terms of the GNU General Public License as pub‐
41 lished by the Free Software Foundation, either version 3 of the Li‐
42 cense, or (at your option) any later version.
43
45 ungleich GmbH 2021
46
47
48
49
507.0.0 Jul 31, 2022 CDIST-TYPE__INSTALL_MKFS(7)