ganeti

Safe HaskellSafe-Infered

Ganeti.Storage.Lvm.LVParser

Contents

Description

Logical Volumer information parser

This module holds the definition of the parser that extracts status information about the logical volumes (LVs) of the system from the output of the lvs command.

Synopsis

Documentation

Utility functions

skipSpaces :: Parser ()Source

bytesP :: Parser IntSource

intP :: Parser IntSource

stringP :: Parser StringSource

Parser implementation

lvCommand :: StringSource

The command providing the data, in the format the parser expects

lvParams :: [String]Source

The parameters for getting the data in the format the parser expects

lvParser :: Parser [LVInfo]Source

The parser for a whole diskstatus file.