summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoey Hess2015-08-25 20:29:30 -0700
committerJoey Hess2015-08-25 20:29:30 -0700
commit516986cebd0030f0d599bec3b1a952344d9d9e9f (patch)
treed35d5863a769b420e07c352ff84b7d7380f7de47 /src
parentb3c3a7029020126b1ab5e2d5999b7b2707078150 (diff)
propellor spin
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/Property/Mount.hs3
-rw-r--r--src/Propellor/Property/Parted.hs3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Propellor/Property/Mount.hs b/src/Propellor/Property/Mount.hs
index ff47f4d9..43ca0cc6 100644
--- a/src/Propellor/Property/Mount.hs
+++ b/src/Propellor/Property/Mount.hs
@@ -3,7 +3,8 @@ module Propellor.Property.Mount where
import Propellor
import Utility.Path
-type FsType = String
+type FsType = String -- ^ type of filesystem to mount ("auto" to autodetect)
+
type Source = String
-- | Lists all mount points of the system.
diff --git a/src/Propellor/Property/Parted.hs b/src/Propellor/Property/Parted.hs
index 2b741234..6d125b85 100644
--- a/src/Propellor/Property/Parted.hs
+++ b/src/Propellor/Property/Parted.hs
@@ -6,6 +6,7 @@ module Propellor.Property.Parted (
Partition(..),
mkPartition,
Partition.Fs(..),
+ ByteSize,
Partition.MkfsOpts,
PartType(..),
PartFlag(..),
@@ -110,7 +111,7 @@ data Eep = YesReallyDeleteDiskContents
-- | Partitions a disk using parted, and formats the partitions.
--
--- The FilePath can be a block device (eg, /dev/sda), or a disk image file.
+-- The FilePath can be a block device (eg, \/dev\/sda), or a disk image file.
--
-- This deletes any existing partitions in the disk! Use with EXTREME caution!
partitioned :: Eep -> FilePath -> PartTable -> Property NoInfo