
Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1193407968 25200 # Node ID c43f4785810f0b1695bf21c23eb26ba4b5cf0b02 # Parent 1fef15850ba5557cc421206fb3ff569f6845ad99 Add disk resource pools This patch parses a disk pool config file, which allows you to specify a pool name and path. The path is assumed to be a directory of image files. The Capacity and Reserved properties are reported with statvfs (although the free/reserved calculation isn't working yet). The config is hard-coded to /tmp/diskpool.conf currently, but needs to be a compile-time option. This should be a good start though.
Signed-off-by: Dan Smith <danms@us.ibm.com>
This seems like a fine start. +1 I can get a quick patch out to make the filepath settable via the configure script, especially if it's okay to say that validation of the filepath can wait until run time. -- -Jay