[Bug 200606] mkimg doesn't support v5 formatted VMDK files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 2 22:22:28 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200606

            Bug ID: 200606
           Summary: mkimg doesn't support v5 formatted VMDK files
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

It seems that mkimg doesn't support VMDK 5 formats yet. It would be nice if it
did:

$ cat poc.sh 
#!/bin/sh

set -e

rm -Rf root || :
mkdir root
fetch -o -
http://buildbiox.west.isilon.com/snapshots/b.ript.bsd10p2.230/obj.RELEASE/install.tar.gz
| \
    tar xpzf - -C root
# Give us 1GB more space to play with on /
fs_size=$(( $(du -s root | awk '{ print $1 }') + 1024 * 1024 * 1024 ))
makefs -M $fs_size -o bsize=8192,fsize=1024 root.md root
mkimg -f vmdk \
      -s gpt -b root/boot/pmbr -p freebsd-boot:=root/boot/gptboot -p
freebsd-ufs:=root.md \
      -o b.ript.bsd10p2.230.release.vmdk

This is a placeholder bug for the requested enhancement. I don't know where the
format file's docs are, but it might be doable for either Juniper, Isilon, or
someone else to implement the enhancement.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list