Previous topic

The nova.virt.disk.guestfs Module

Next topic

The nova.virt.disk.mount Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.virt.disk.loop Module

Support for mounting images with the loop device

class Mount(image, mount_dir, partition=None, device=None)

Bases: nova.virt.disk.mount.Mount

loop back support for raw images.

device_id_string = 'loop'
get_dev()
mode = 'loop'
unget_dev()