Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting