diff options
| author | frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a <frederik@web> | 2016-04-05 14:03:49 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2016-04-05 14:03:49 +0000 |
| commit | e3111c683e96f1beb11477866a3227ce4b06d25a (patch) | |
| tree | c112314f2b8c0735a4bcd2eff8603bb93205b7bf /doc | |
| parent | 002bc57279ce4c571dd293c8812014fe8edcfd79 (diff) | |
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/newbie_trying_to_set_up_NFS_mount.mdwn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/newbie_trying_to_set_up_NFS_mount.mdwn b/doc/forum/newbie_trying_to_set_up_NFS_mount.mdwn new file mode 100644 index 00000000..4f8b7f86 --- /dev/null +++ b/doc/forum/newbie_trying_to_set_up_NFS_mount.mdwn @@ -0,0 +1,19 @@ +I am checking out propellor to determine if it can make it easier to maintain a few personal machines. With no prior knowledge of Haskell, that may be a futile attempt. + +I am trying to understand [the Propellor.Property.Mount documentation](http://hackage.haskell.org/package/propellor-2.17.2/docs/Propellor-Property-Mount.html) and particularly how I would need to write the equivalent of + + mount -t nfs 192.168.1.100:/mnt/usb1 /mnt/nfs + +I tried putting + + & Mount.mounted + "nfs" "192.168.1.100:/mnt/usb1" "/mnt/nfs" ["defaults"] + +in config.hs, but that results in + + Couldn't match expected type ‘Mount.MountOpts’ + with actual type ‘[[Char]]’ + In the fourth argument of ‘Mount.mounted’, namely ‘["defaults"]’ + In the second argument of ‘(&)’, namely + ‘Mount.mounted + "nfs" "192.168.1.100:/mnt/usb1" "/mnt/nfs" ["defaults"]’ |
