1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/usr.bin/mkimg
Marcel Moolenaar 0e651cfe2e Fix the creation of the L2 cluster table for version 1. The blkofs
variable was assigned the image offset in bytes and not in blocks
(i.e. sectors). This had image_data() return FALSE, which meant that
we didn't assign a cluster when we needed and also meant that we
didn't write parts of the L2 table when we should have. The result
being that the actual data clusters were written at the wrong offset.

Improve support for QCOW version 2. We're having the right layout
and even know how many refcnt blocks we need. All we need to do is
populate the refcnt blocks for every cluster we write and allocate
a cluster when we need a new refcnt block. The allocation part is
tricky in that it'll interleave with the assignment of clusters to
L2 tables and data. Since version 2 is not quite done, keep it
compiled out for now.
2014-09-24 15:14:01 +00:00
..
tests Clean the generated baseline files by adding them to CLEANFILES. 2014-09-24 04:17:29 +00:00
apm.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
bsd.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
ebr.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
format.c MFuser/marcel/mkimg: 2014-05-15 19:19:57 +00:00
format.h MFuser/marcel/mkimg: 2014-05-15 19:19:57 +00:00
gpt.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
image.c Add image_data() for checking whether a sequence of blocks has data. 2014-07-15 04:39:23 +00:00
image.h Add image_data() for checking whether a sequence of blocks has data. 2014-07-15 04:39:23 +00:00
Makefile Add support for QCOW version 1. Version 2 is partially implemented. 2014-09-22 15:05:28 +00:00
mbr.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
mkimg.1 Add support for adding empty partition entries. I.e. skip partition 2014-09-12 20:05:08 +00:00
mkimg.c Add support for adding empty partition entries. I.e. skip partition 2014-09-12 20:05:08 +00:00
mkimg.h Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
pc98.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
qcow.c Fix the creation of the L2 cluster table for version 1. The blkofs 2014-09-24 15:14:01 +00:00
raw.c Add VHD support to mkimg(1). VHD is used by Xen and Microsoft's Hyper-V 2014-07-03 20:31:43 +00:00
scheme.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
scheme.h Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
vhd.c Fix builds on older FreeBSD versions and/or non-FreeBSD machines: 2014-07-23 18:05:39 +00:00
vmdk.c Create a redundant grain directory and table. Previously we were 2014-08-09 04:47:12 +00:00
vtoc8.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00