4 ms·
My kingdom for a documented disk image format.
by bigyabai 1y ago
My kingdom for a documented disk image format.
- aaronmdjones 1y agohttps://docs.kernel.org/filesystems/ext4/index.html https://docs.kernel.org/filesystems/ext4/index.html
- zymhan 1y agoA filesystem is not a disk image.
- n_plus_1_acc 1y agoIf it quaks like a disk image, it is a disk image
- deleted 1y ago[deleted]
- duskwuff 1y agoA filesystem is not a file. (Yes, you can store a filesystem in a file - and that's a trivial sort of disk image, but one with some serious drawbacks like "you have to allocate all of the space up front". We can do better.)
- Dylan16807 1y agoSome of the most popular disk image formats are basically a sparse file abstraction for non-sparse files and nothing more. You have a bunch of blocks, a table mapping each block to its virtual location, and a couple convenience headers. If those count as a disk image when you put a filesystem inside, then I say a normal file is also a disk image when you put a filesystem inside. Especially because the sparse mapping is optional. For example, lots of VHDs are a raw file plus a 512 byte footer.
- zymhan 1y agoWhat?
- shakna 1y agoAbout the only decently documented disk image format I've found is qcow2. [0] Which is usually not the best tool for the job. So very many of them are just header details + "only works with our tools". [0] https://www.qemu.org/docs/master/interop/qcow2.html https://www.qemu.org/docs/master/interop/qcow2.html
- mannyv 1y agoI'll take your kingdom! ISO 9660. https://www.iso.org/iso-9660-images-for-computer-files.html https://www.iso.org/iso-9660-images-for-computer-files.html VMDK https://en.wikipedia.org/wiki/VMDK https://en.wikipedia.org/wiki/VMDK Amiga https://en.wikipedia.org/wiki/Amiga_Disk_File https://en.wikipedia.org/wiki/Amiga_Disk_File UDF https://en.wikipedia.org/wiki/Universal_Disk_Format https://en.wikipedia.org/wiki/Universal_Disk_Format Apple Disk Image https://en.wikipedia.org/wiki/Apple_Disk_Image https://en.wikipedia.org/wiki/Apple_Disk_Image
- shakna 1y agoVMDK isn't documented there, and is a container for multiple partially documented - and some only reverse engineered - subformats.
- mdaniel 1y agoNot on wikipedia, but VMDK is part of the DTMF OVF[1] format and thus I believe the .vmdk format would be implicitly made available therein However, words are words but software is better: - https://github.com/vmware/open-vmdk#specifications https://github.com/vmware/open-vmdk#specifications is Apache 2 - the link they cited is bitrotten but Internet Archive has you: https://web.archive.org/web/20210411181842/https://www.vmware.com/app/vmdk/?src=vmdk https://web.archive.org/web/20210411181842/https://www.vmwar... 1: https://www.dmtf.org/standards/ovf https://www.dmtf.org/standards/ovf
- shakna 1y agoUnfortunately, no. OVA and OVF are defined in the OVF spec, but VMDK is not. So congrats on finding the spec for it, as its no longer maintained! Its also no longer followed, either, unfortunately.
- tobias3 1y agoVHDX https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-vhdx/83e061f8-f6e2-4de1-91bd-5d518a43d477 https://learn.microsoft.com/en-us/openspecs/windows_protocol...