sys/tool/vbox

VirtualBox management library

Dependency Graph

sys/tool/vbox: Library Dependencies

View the full-size SVG (svg) or PDF (pdf) image or graphviz source (dot)

View color source code (raw) for this file

View reStructuredText (rst) source code for this page

Native dependencies

Settings

VDI mounttab:
$vm_name:$nbd_device:$nbd_partition:$mount_point0

Location for storing VM data

Location for storing HD images

Location for storing ISO images

Default OS type (see vbox_manage list ostypes)

Default SATA controller settings

Default IDE controller settings

Default size of new disk (in MB)

vbox_data_types

List of registered data types

VirtualBox helpers

Generic data storage helpers

vbox_data_init

Initialize data directories

vbox_data_list

List contents of directory stored in $1

vbox_data_path

Construct a filename using a directory stored in $1 and
the name from $3 passed through a function named in $2

$1 - data type

$2 - name

vbox_data_exists

Returns success if data file exists

$1 - data type

$2 - name

$1 - command line

$2 - command verb

$3 - data type (e.g. "hd")

$4 - data term (e.g "image")

... - data names (to be transformed to filenames)

$1 - data type (e.g. "hd")

$2 - data term (e.g "image")

... - names

$1 - data type (e.g. "hd")

$2 - data term (e.g "image")

$3 - src

$4 - tgt

HDs

vbox_data_rm hd 'disk image' "$@"

HD mounttab support

vbox_mounttab_add

Add an entry to the mounttab

vbox_mounttab_remove

Remove an entry from the mounttab

vbox_mounttab_devices

List of NBD devices being used

vbox_mounttab_device

Find NBD device for given HD image

vbox_mounttab_device_next

Find next available NBD device
Starting after the last id, search through the device list for the first unused device number.

devse array index

next device id

skip devices that are bigger than the next id being considered

skip ids if the devices are in-use

vbox_mounttab_partitions

List all partition:path pairs for the image

vbox_mounttab_partition

Find partition mount point

HD image mounting support

if we need to mount the image, remember we did it

run fdisk on image device

if we mounted it, umount it

vbox_hd_mount_image

Internal helper for mounting HD image devices

vbox_hd_image_umount

Internal helper for umounting an HD image device

vbox_hd_partition_mount

Mount an image partition

vbox_hd_partition_umount

Unmount an image partition, unmounting
the image if no other partitions are using it.

check the device number again

no partitions remain mounted, unmount the image

ISOs

VMs

VM State

VM Snapshots

SATA

IDE


View the Developer Guide Index

View the Reference Manual Index


Generated on Fri Jul 28 14:38:40 PDT 2017 by mcsh d14 v0.23.0.