vdfuse claims to support raw disk images, but neglects to check the option.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtualbox-ose (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/partitioned
Which produces
mnt2/Partition1
which is itself mountable.
The offending code seems to be:
virtualbox-
"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.
summary: |
- vdfuse claims to support raw disk images, but doesn't + vdfuse claims to support raw disk images, but neglects to check the + option. |
patch fixing missing RAW functionality