propellor-2.7.2: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Mount

Synopsis

Documentation

mountPoints :: IO [FilePath] Source

Lists all mount points of the system.

mountPointsBelow :: FilePath -> IO [FilePath] Source

Finds all filesystems mounted inside the specified directory.

getFsType :: FilePath -> IO (Maybe FsType) Source

Filesystem type mounted at a given location.

umountLazy :: FilePath -> IO () Source

Unmounts a device, lazily so any running processes don't block it.

mount :: FsType -> Source -> FilePath -> IO Bool Source

Mounts a device.