Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- enableDatasets :: Zpool z -> String -> Zfs z ()
- disableDatasets :: Zpool z -> Bool -> Zfs z ()
- unmountAll :: Zdataset z -> Zfs z ()
- mount' :: Zdataset z -> Maybe String -> Zfs z ()
- mount :: Zdataset z -> Zfs z ()
- remount :: Zdataset z -> Zfs z ()
- unmount :: Zdataset z -> Zfs z ()
- tryGetMountpoint :: Zdataset z -> Zfs z (Maybe String)
Documentation
enableDatasets :: Zpool z -> String -> Zfs z () Source
Mount all datasets in the given pool. Second argument contains mount options (TODO: this shouldn't be a string...)
disableDatasets :: Zpool z -> Bool -> Zfs z () Source
Unmount all datasets in the given pool. Second argument specifies whether to force unmounting.
unmountAll :: Zdataset z -> Zfs z () Source
Unmount this filesystem and any children inheriting the mountpoint property.