libzfs-0.1.0.2: Bindings to libzfs, for dealing with the Z File System and Zpools.

Safe HaskellSafe
LanguageHaskell2010

System.Zfs

Synopsis

Documentation

runZfs :: MonadIO m => (forall z. ZfsT z m a) -> m (Either ZError a) Source

Runs some ZfsT function, making sure that no Zpool or Zfs handles are passed to the outside. Calls libzfs_init and libzfs_fini.

printZpoolConfig :: Zpool z -> Zfs z () Source

Print Zpool config