[sheepdog-users] sheep target directory

Valerio Pachera sirio81 at gmail.com
Sat Jun 8 10:31:14 CEST 2013


2013/6/7 MORITA Kazutaka <morita.kazutaka at gmail.com>:
> The correct way to go is to introduce
> /etc/sheepdog/sheep.conf

it's fine for me. Samba like style?.
There should already be some lib for parse it.
Two examples: minimal (single disk, no cache, no other), and with more
options(md, cache,  journal optional)

[general]
  data dir = /mnt/sdb1

[general]
  data dir = /mnt/sdb1,/mnt/sdb1/obj,/mnt/sdc1,/mnt/sdd1
  cache size = 2000
  #journal dir = /mnt/sheep_journal

>  We can also add a option to sheep
> command options to use the config file.

I think at this point it should use by default, if present.
-C --config <path>   allow to specify a different path for another config file.

There's another good point having a configuration file: we know how
sheep was run run before.



More information about the sheepdog-users mailing list