mkfs_btrfs
Description:
[ Version ( since = "1.17.25" ) ]
public bool mkfs_btrfs (string[] devices, MkfsBtrfs? optargs) throws Error
public bool mkfs_btrfs (string[] devices, MkfsBtrfs? optargs) throws Error
create a btrfs filesystem
Create a btrfs filesystem, allowing all configurables to be set. For more information on the optional arguments, see mkfs.btrfs(8).
Since btrfs filesystems can span multiple devices, this takes a non-empty list of devices.
To create general filesystems, use mkfs.
This function depends on the feature "btrfs". See also feature_available.
Parameters:
this |
A GuestfsSession object |
devices |
an array of strings |
optargs |
a GuestfsMkfsBtrfs containing optional arguments |
Returns:
true on success, false on error |