NAME

App::ZFSCurses::Backend - Perform backend operations.

METHODS

new

Create an instance of App::ZFSCurses::Backend.

is_zfs_installed

Run the `zfs' command using qx and return the return code.

get_zfs_datasets

Return ZFS datasets found on the system. This method runs "zfs list -t filesystem" behind the scenes.

get_zfs_properties

Return ZFS properties for a given dataset. This method expects a dataset as first argument.

set_zfs_property

Set property to a given ZFS dataset.

This method expects three arguments:

  • a dataset

  • a property

  • a value

AUTHOR

Patrice Clement <monsieurp at cpan.org>

LICENSE AND COPYRIGHT

This software is copyright (c) 2020 by Patrice Clement.

This is free software, licensed under the (three-clause) clause BSD License.

See the LICENSE file.