summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg/mkimg.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-07-28 02:07:16 +0000
committermarcel <marcel@FreeBSD.org>2014-07-28 02:07:16 +0000
commit37a9f7be2fd32cf24c75d466cacac9ce83a3766b (patch)
tree66e64f422d8c9a6302c783fe4783cf8ee5e22044 /usr.bin/mkimg/mkimg.h
parent920342975e733e6db05ffe8353ba9a3d29fffb23 (diff)
downloadFreeBSD-src-37a9f7be2fd32cf24c75d466cacac9ce83a3766b.zip
FreeBSD-src-37a9f7be2fd32cf24c75d466cacac9ce83a3766b.tar.gz
MFC r268236,268264,268524,268646,268802,269021:
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
Diffstat (limited to 'usr.bin/mkimg/mkimg.h')
-rw-r--r--usr.bin/mkimg/mkimg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/mkimg/mkimg.h b/usr.bin/mkimg/mkimg.h
index 290ca1e..9558b86 100644
--- a/usr.bin/mkimg/mkimg.h
+++ b/usr.bin/mkimg/mkimg.h
@@ -50,6 +50,7 @@ struct part {
extern STAILQ_HEAD(partlisthead, part) partlist;
extern u_int nparts;
+extern u_int unit_testing;
extern u_int verbose;
extern u_int ncyls;
@@ -71,4 +72,7 @@ round_block(lba_t n)
ssize_t sparse_write(int, const void *, size_t);
#endif
+struct uuid;
+void mkimg_uuid(struct uuid *);
+
#endif /* _MKIMG_MKIMG_H_ */
OpenPOWER on IntegriCloud