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

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Mount

Synopsis

Documentation

type FsType Source

Arguments

 = String

type of filesystem to mount ("auto" to autodetect)

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.

unmountBelow :: FilePath -> IO () Source

Unmounts anything mounted inside the specified directory.

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

Mounts a device.