back to listing index

SophosLabs/vdfuse

[web search]
Original source (github.com)
Tags: utility virtualization vdfuse vmdk
Clipped on: 2016-03-09

Skip to content
Fuse driver to mount VirtualBox compatible disk images ( including snapshots ).
C Python Shell
old Autotools build preliminary 3 years ago
src Fixed an incompatibility with current gcc on ubuntu, related to the o… 2 years ago
.gitignore Cleaned up build files. Now need to run autogen.sh beforehand 3 years ago
AUTHORS Restructure copyrights, licence etc. into their respective files 3 years ago
COPYING Restructure copyrights, licence etc. into their respective files 3 years ago
ChangeLog Restructure copyrights, licence etc. into their respective files 3 years ago
INSTALL Added mention of running autogen.sh to install 2 years ago
Makefile.am Fixed an incompatibility with current gcc on ubuntu, related to the o… 2 years ago
NEWS Autotools build preliminary 3 years ago
README Restructure copyrights, licence etc. into their respective files 3 years ago
TODO updated TODO 2 years ago
autogen.sh Fixed autogen.sh 3 years ago
configure.ac updated TODO 2 years ago
fetch_vbox_headers.sh Autotools scripts updates 3 years ago

README

#########################################################
This is a clone of https://github.com/jonathanxavier/vdfuse
with a few minor updates to make it compile against the latest 
VirtualBox headers as well as a more portable build system

This Fuse module uses the VBox access library to open a VBox supported VD image file and mount
it as a Fuse file system.  The mount point contains a flat directory with the following files
 *  EntireDisk
 *  PartitionN

Note that each file should only be opened once and opening EntireDisk should locks out
the other files. However, since file close isn't passed to the fuse utilities, I can only 
enforce this in a brute fashion:  If you open EntireDisk then all further I/O to 
the PartitionN files will fail.  If open any PartitionN file then all further I/O to EntireDisk
will fail.  Hence in practice you can only access on or the other within a single mount. 

##########################################################
ChangeLog:
 See ChangeLog

##########################################################
Installation:
 See INSTALL

##########################################################
Usage: (once installed)
 
 Linux: (TODO)


 OSX: 
 > sudo ./vdfuse -tVHD -a -f /path/to/vdi /path/to/mount 

 > hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount /path/to/mount/EntireDisk
 > /dev/diskX   << Pay attention to disk ids assigned

 > mount -t YourFS /dev/diskXsY /path/to/partition/mount

##########################################################
License:
 See COPYING

##########################################################
Authors:
 See AUTHORS
	
##########################################################

sources:
http://serverfault.com/questions/174278/mount-an-vhd-on-mac-os-x
http://forums.virtualbox.org/viewtopic.php?f=26&t=33355&start=0