diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-12-30 13:34:03 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-12-30 13:34:03 -0400 |
| commit | 80e65c5c33200286a8be8c7cd595d7db104a5fa1 (patch) | |
| tree | aa2a8a637cb9741ec0b36556d33de1d1dd6abc1f /src/Propellor/Property/Installer/Target.hs | |
| parent | 26821b8a3467d665fd670550356e14386aaa83c4 (diff) | |
improve haddock
Diffstat (limited to 'src/Propellor/Property/Installer/Target.hs')
| -rw-r--r-- | src/Propellor/Property/Installer/Target.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Propellor/Property/Installer/Target.hs b/src/Propellor/Property/Installer/Target.hs index 92b4c681..986c75ea 100644 --- a/src/Propellor/Property/Installer/Target.hs +++ b/src/Propellor/Property/Installer/Target.hs @@ -424,8 +424,10 @@ getMountsSizes = mapMaybe (parse . words) . lines <$> readProcess "findmnt" ps " parse _ = Nothing -- | How much of the target disks are used, compared with the size of the --- installer's root device. Since the main action is rsyncing the latter --- to the former, this allows roughly estimating the percent done. +-- installer's root device. Since the main part of an installation +-- is rsyncing the latter to the former, this allows roughly estimating +-- the percent done while an install is running, and can be used in some +-- sort of progress display. data TargetFilled = TargetFilled (Ratio Integer) deriving (Show, Eq) |
