1Rex::Commands::Mkfs(3)User Contributed Perl DocumentationRex::Commands::Mkfs(3)
23
4
NAME
6Rex::Commands::Mkfs - Create filesystems
7
DESCRIPTION
9With this module you can create filesystems on existing partitions and
10logical volumes.
11
SYNOPSIS
13use Rex::Commands::Mkfs;
14
EXPORTED FUNCTIONS
16mkfs($devname, %option)
17Create a filesystem on device $devname.
1819
mkfs "sda1",
20fstype => "ext2",
21label => "mydisk";
2223
mkfs "sda2",
24fstype => "swap";
2526
27
28
perl v5.34.0 2022-01-19 Rex::Commands::Mkfs(3)