The nova.virt.disk.mount.block Module

Support for mounting block device based images directly.

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

Bases: nova.virt.disk.mount.api.Mount

Block device backed images do not need to be linked because they are already exposed as block devices and can be mounted directly.

get_dev()
mode = 'block'
unget_dev()

Previous topic

The nova.virt.disk.mount.api Module

Next topic

The nova.virt.disk.mount.loop Module

Project Source

This Page