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

Safe HaskellSafe
LanguageHaskell2010

System.Zfs.Mount

Synopsis

Documentation

enableDatasets :: Zpool -> String -> Zfs () #

Mount all datasets in the given pool. Second argument contains mount options (TODO: this shouldn't be a string...)

disableDatasets :: Zpool -> Bool -> Zfs () #

Unmount all datasets in the given pool. Second argument specifies whether to force unmounting.

unmountAll :: Zdataset -> Zfs () #

Unmount this filesystem and any children inheriting the mountpoint property.

mount' :: Zdataset -> Maybe String -> Zfs () #

Mount the given filesystem with custom mount options

mount :: Zdataset -> Zfs () #

Mount the given filesystem with default options

remount :: Zdataset -> Zfs () #

Remount the given filesystem

unmount :: Zdataset -> Zfs () #

Unmount the given filesystem

tryGetMountpoint :: Zdataset -> Zfs (Maybe String) #

Check if a file system is mounted and return the mountpoint if available