Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A script to mount or unmount virtual block devices from Xen, KVM, Qemu

Project description

This script mounts file systems found in a virtual block device. Once mounted,
the file systems are rooted at the mount-point. Then you may chroot in this
directory to do useful things such as installing packages or configuring the
network.

Syntax:

vbdmount.py [-v] [-o mount-opts] { -f config-file | -b block-device
}[:path-to-mount] mount-point
vbdmount.py [-v] -u mount-point

path-to-mount only the partition that contains this path is mounted
mount-point path onto the file systems are mounted

Options:

-h, --help show this help message and exit
-o MOUNTOPTS, --mount-options=MOUNTOPTS
Options to be passed to the mount command
-f CONFIGFILE, --domu-config-file=CONFIGFILE
A domU configuration file
-b VBD, --block-device=VBD
A virtual block device path (file or LV or raw device)
-u, --umount Unmounts the mounted virtual block device
-v, --verbose Prints a verbose output

Project details


Release history Release notifications

This version
History Node

1.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page