create

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Create a ZFS filesystem or a ZFS volume (zvol) Params: string name - name of the dataset to be created DataSetType datasetType - dataset type (either zfs for a filesystem or zvol for a volume string[string] properties - a dictionary od ZFS dataset property name-value pairs ubyte[] encryptionKey - dataset encryption key data Errors: FilesystemExists - if a dataset with the given name already exists ParentNotFound - if a parent dataset of the requested dataset does not exist PropertyInvalid - if one or more of specified properties does not exist or has an invalid type or value NameInvalid - if the name is not a valid dataset name NameTooLong - if the name is too long WrongParent - if the parent dataset of the requested dataset is not a filesystem eg zvol `)
void
create
(
string name
,,
string[string] properties = (string[string]).init
,
ubyte[] encryptionKey = []
)

Meta