btrfs_subvolume_create
Description:
[ Version ( since = "1.17.35" ) ]
public bool btrfs_subvolume_create (string dest, BTRFSSubvolumeCreate? optargs) throws Error
public bool btrfs_subvolume_create (string dest, BTRFSSubvolumeCreate? optargs) throws Error
create a btrfs subvolume
Create a btrfs subvolume. The dest
argument is the destination directory and the name of the subvolume, in the form
/path/to/dest/name. The optional parameter qgroupid
represents the qgroup which the newly created subvolume will be added to.
This function depends on the feature "btrfs". See also feature_available.
Parameters:
this |
A GuestfsSession object |
optargs |
a GuestfsBTRFSSubvolumeCreate containing optional arguments |
Returns:
true on success, false on error |