freebsd-src/usr.bin/mkimg
Emmanuel Vadot 2dcfca637d mkimg: Add -C argument to specify maximum capacity
Add a -C option to specify a maximum capacity for the final image file.
It is useful to control the size of the generated image for sdcard or
when we will add dynamic size partition.

Add --capacity which is a shorthand to define min and max capacity at
the same time.

Reviewed by:	bapt, marcel, wblock (manpages)
Sponsored by:	Gandi.net
Differential Revision:	https://reviews.freebsd.org/D10509
2017-05-10 09:36:34 +00:00
..
tests Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
apm.c o Provide a private definition for UUIDs (mkimg_uuid_t) because 2016-10-18 01:55:07 +00:00
bsd.c o Provide a private definition for UUIDs (mkimg_uuid_t) because 2016-10-18 01:55:07 +00:00
ebr.c o Provide a private definition for UUIDs (mkimg_uuid_t) because 2016-10-18 01:55:07 +00:00
endian.h Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
format.c Prefer <stdint.h> over <sys/types.h>. While here remove redundant 2016-10-03 02:37:28 +00:00
format.h Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
gpt.c o Provide a private definition for UUIDs (mkimg_uuid_t) because 2016-10-18 01:55:07 +00:00
image.c Allow building mkimg as cross-tool 2017-03-03 01:56:55 +00:00
image.h Make image_copyout_zeroes() an interface function. 2015-08-03 01:24:48 +00:00
Makefile Allow building mkimg as cross-tool 2017-03-03 01:56:55 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
mbr.c Add a new flag to mkimg (-a num) to specify the active partition for 2016-10-18 05:43:12 +00:00
mkimg.1 mkimg: Add -C argument to specify maximum capacity 2017-05-10 09:36:34 +00:00
mkimg.c mkimg: Add -C argument to specify maximum capacity 2017-05-10 09:36:34 +00:00
mkimg.h Allow building mkimg as cross-tool 2017-03-03 01:56:55 +00:00
qcow.c mkimg(1): let calloc(3) do the multiplication. 2017-03-13 20:14:07 +00:00
raw.c Prefer <stdint.h> over <sys/types.h>. While here remove redundant 2016-10-03 02:37:28 +00:00
scheme.c Prefer <stdint.h> over <sys/types.h>. While here remove redundant 2016-10-03 02:37:28 +00:00
scheme.h Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
uuid.c Allow building mkimg as cross-tool 2017-03-03 01:56:55 +00:00
vhd.c o Provide a private definition for UUIDs (mkimg_uuid_t) because 2016-10-18 01:55:07 +00:00
vmdk.c Prefer <stdint.h> over <sys/types.h>. While here remove redundant 2016-10-03 02:37:28 +00:00
vtoc8.c o Provide a private definition for UUIDs (mkimg_uuid_t) because 2016-10-18 01:55:07 +00:00