logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__install_mkfs - build a linux file system

Authors

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

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.

Description

This cdist type is a wrapper for the mkfs command.

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"

Name

cdist-type__install_mkfs - build a linux file system

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

Required Parameters

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

See Also

mkfs(8)

See Also