EmmanuelAcheampong/Diamond — pull request #1 by EmmanuelAcheampong (2013-05-03 14:30:06+00:00)
Title: The diskspace.py code tries to use Labels found at /dev/disk/path-by-lab...

...el/

but my centos machine mounts the root device /dev/xvda1 at / with a LABEL=\
This means in /dev/disk/path-by-labels/ there is a \x2f label
the code add the keypair "/dev/xvda1" : "\x2f"
this however when being processed doesnt go through any translation back to being route.
We ignore the if mount point = / change to _ then if _ become root, as we have a label called \x2f
now due to an error in Graphite, or expected behaviour any buckets written out with a \ are created but there metric values are ignored so we do not get the root diskspace metric.
I have changed the code to deal with this by saying, if you are in the labels, we will use the mountpoint value and treat it to the same name changes as in the other section, i could delete the who case if i wanted to as well.