Public bug reported:

vdfuse claims in it's usage note:

    "-t specify type (VDI, VMDK, VHD, or raw; default: auto)"

However it does not handle raw disk images, and fails in the following
sequence:

    mkdir mnt
    vdfuse -f partitionedDisk.img mnt/

with:

    "ERROR: cannot autodetect disk type"

I verfied my image and found a work around via:

    mkdir mnt
    xmount --in dd --out vdi partitionedDisk.img mnt/

    mkdir mnt2
    vdfuse -f mnt/partitionedDisk.vdi mnt2

Which produces

    mnt2/Partition1

which is itself mountable.


The offending code seems to be:

    virtualbox-ose/debian/vdfuse/vdfuse.c:265&481

"raw" or rather "RAW" is never checked for.

there is a "RAW" backend for handling the image type.

I'll make a patch if there's a chance that it will be accepted.

** Affects: virtualbox-ose (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1019075

Title:
  vdfuse claims to support raw disk images, but doesn't

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox-ose/+bug/1019075/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to