file: Fix file command on /dev/VG/LV paths (RHBZ#582484).
authorRichard Jones <rjones@redhat.com>
Tue, 8 Jun 2010 15:04:01 +0000 (16:04 +0100)
committerRichard Jones <rjones@redhat.com>
Tue, 8 Jun 2010 15:04:01 +0000 (16:04 +0100)
commitba39ced8804765705f4c61a92db0fddb8d672c7d
tree4daff51e2206afa0f8df822ab6a63086eb77c630
parent1253f577fa162b9170b22f3c543167aa99795920
file: Fix file command on /dev/VG/LV paths (RHBZ#582484).

Previous commit 4df593496e116dfb635731c058b7627e81fc179c broke the
"file" command on logical volume paths, since these are symbolic
links.  We *should* follow these (only).

This inadvertantly broke virt-inspector too, which indicates that
we need more regression testing in this area.  Since carrying whole
Fedora images around could make the distribution even larger than
now, I'm not sure at the moment how to do this.

Thanks to Matt Booth for diagnosing this bug.
daemon/file.c
src/generator.ml