2 $ cat >foo.conf <<'EOF'
3 > ; ---------------------
8 > pid file = /home/sage/ceph/src/out/$name.pid
11 > osd data = /mnt/osd$id
16 To extract the value of the "osd data" option for the osd0 daemon,
18 $ ceph-conf -c foo.conf "osd data" --name osd.0
21 This is equivalent to doing specifying sections [osd0], [osd.0],
22 [osd], or [global], in that order of preference:
24 # TODO the "admin" here seems like an actual bug
26 $ ceph-conf -c foo.conf "osd data" -s osd0 -s osd.0 -s osd -s global
29 To list all sections that begin with osd:
31 $ ceph-conf -c foo.conf -l osd