summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg
Commit message (Collapse)AuthorAgeFilesLines
* MFC r275721:marcel2014-12-282-5/+6
| | | | | | | The size of the first level reference count table is given in terms of the number of clusters it occupies. Bump the version number of mkimg.
* MFC r274495:trasz2014-12-141-3/+3
| | | | | | Add missing commas to .Xr. Sponsored by: The FreeBSD Foundation
* MFC r274410: Fix for behaviour of SEEK_DATA on ZFS.marcel2014-11-171-3/+5
|
* MFC r272485: Fill cyclinder, head and sector fields for the EBR,marcel2014-10-086-21/+58
| | | | | | MBR and PC98 schemes. Requested by: gjb
* MFC 272384:marcel2014-10-082-94/+586
| | | | | | Improve performance of mking(1). Requested by: gjb
* MFC 272198, 272217:marcel2014-10-083-20/+127
| | | | | | | | | Add 3 long options (--version, --formats & --schemes) for getting information about mkimg itself. Requested by: gjb Relnotes: yes
* MFC 271965, 272072, 272086: Add QCOW v1 & v2 supportmarcel2014-10-082-0/+370
| | | | | | Requested by: gjb Relnotes: yes
* MFC 271881: Fix partition alignment and image rounding when any ofmarcel2014-09-2310-54/+54
| | | | | | -P (block size), -T (track size) or -H (number of heads) is given. Approved by: re@ (gjb)
* MFC 271482: Add support for adding empty partition entries.marcel2014-09-222-1/+29
| | | | | Relnotes: yes Approved by: re@ (gjb)
* Be compatible with boot code that starts right after the disk label inmarcel2014-09-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | the second sector by only clearing the amount of bytes needed for the disklabel in the second sector. Previously we were clearing exactly 1 sector worth of bytes and as such writing over boot code that may have been there. Since we do support more than 8 partitions, make sure to set all fields in d_partitions. For the first 8 partitions this is unneeded, but for partitioons 9 and up this compensates for the fact that we don't clear an entire sector anymore. Obviously, one cannot use more than 8 partitions when using boot code that starts right after the disk label. Relevant GRNs: 107879 - Employ unused bytes after the disklabel in the second sector. 189500 - Revert the part of change 107879 that employs the unused bytes after the disklabel in the 2nd sector for boot code. Obtained from: Juniper Networks, Inc. Approved by: re@ (gjb)
* Fix checksum calculation:marcel2014-09-181-4/+7
| | | | | | | | | | | 1. Iterate over all partitions counted in the label, which can be more than the number of partitions given to mkimg(1). 2. Start the checksum from the beginning of the label; not the beginning of the bootarea. Tested with bsdlabel(8). Approved by: re@ (rodrigc)
* MFC 269745: Create a redundant grain directory and table.marcel2014-08-131-5/+23
|
* MFC r268727 (by delphij):pluknet2014-07-291-0/+1
| | | | Add a bandaid to fix GCC build (on sparc64 et al).
* MFC r268236,268264,268524,268646,268802,269021:marcel2014-07-2811-22/+519
| | | | | | | | This brings VHD support to mkimg(1); both dynamic and fixed file formats. Dynamic VHD and VMDK file images are now sparsely written, meaning that "free" sectors do not occupy space. Relnotes: yes
* MFC mkimg(1) -- revisions 268159, 268134, 266556, 266514, 266513,marcel2014-07-0219-0/+2743
266512, 266511, 266510, 266509, 266176, 265468, 265467, 265462, 265170, 263926, 263924, 263923, 263919 and 263918. Revision 267182 changed mkimg.1 alongside other unrelated manpages. The change to mkimg.1 has been applied without registering a merge of the revision. This allows a future merge of r267182 to happen. Relnotes: yes
OpenPOWER on IntegriCloud