> need to consider the case where the _base is not on the same filesystem as the instances
>>> import os >>> os.stat(CONF.instances_path).st_dev == os.stat(os.path.join(CONF.instances_path, CONF.image_cache.subdirectory_name)).st_dev
Note that os.stat() does not work for Windows as the st_dev always 0.
> need to consider the case where the _base is not on the same filesystem as the instances
>>> import os CONF.instances_ path).st_ dev == os.stat( os.path. join(CONF. instances_ path, CONF.image_ cache.subdirect ory_name) ).st_dev
>>> os.stat(
Note that os.stat() does not work for Windows as the st_dev always 0.