VOOZH about

URL: https://manpages.org/rexcommandsmkfs/3

⇱ man Rex::Commands::Mkfs (3): Create filesystems


Rex::Commands::Mkfs(3) Create filesystems

DESCRIPTION

With this module you can create filesystems on existing partitions and logical volumes.

SYNOPSIS


use Rex::Commands::Mkfs;

EXPORTED FUNCTIONS

mkfs($devname, %option)

Create a filesystem on device .
 mkfs "sda1",
 fstype => "ext2",
 label => "mydisk";
 mkfs "sda2",
 fstype => "swap";