freebsd-dev/usr.bin/mkimg
Marcel Moolenaar eebf77ccef Microsoft Azure demands that fixed VHD images are a whole number
of megabytes. This is on top of having the image rounded to the
matching geometry of the image size.
By rounding up to the next MB after rounding to the geometry, we
lost idempotency. Subsequent calls to resize the image will keep
increasing the image size.

Tested by: gjb@
2015-06-21 01:44:27 +00:00
..
tests Update tests after sizing changes to the fixed VHD format. 2015-06-11 15:19:59 +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 Add mkimg_chs() for those schemes that need the LBA broken down into 2014-10-03 20:48:11 +00:00
format.c Don't resize again prior to writing. Resizing may not be idempotent 2015-06-21 01:35:32 +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 SEEK_DATA has interesting behaviour for sparse files on ZFS. A sparse file 2014-11-12 00:10:27 +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 the -c option for specifying the capacity of the disk image. When 2015-02-22 04:50:47 +00:00
mbr.c mkimg: Add MBR EFI partition type 2015-01-09 19:34:48 +00:00
mkimg.1 Add the -c option for specifying the capacity of the disk image. When 2015-02-22 04:50:47 +00:00
mkimg.c Add the -c option for specifying the capacity of the disk image. When 2015-02-22 04:50:47 +00:00
mkimg.h Add mkimg_chs() for those schemes that need the LBA broken down into 2014-10-03 20:48:11 +00:00
pc98.c Add mkimg_chs() for those schemes that need the LBA broken down into 2014-10-03 20:48:11 +00:00
qcow.c The size of the first level reference count table is given in terms of the 2014-12-12 06:13:31 +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 Don't require a scheme if no partitions are given. Change the code 2015-02-22 01:20:49 +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 Microsoft Azure demands that fixed VHD images are a whole number 2015-06-21 01:44:27 +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