Scroll to navigation

Rex::Commands::Mkfs(3pm) User Contributed Perl Documentation Rex::Commands::Mkfs(3pm)

NAME

Rex::Commands::Mkfs - 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 $devname.

 mkfs "sda1",
   fstype => "ext2",
   label  => "mydisk";
 mkfs "sda2",
   fstype => "swap";
2023-03-06 perl v5.36.0