]> wimlib.net Git - wimlib/blob - doc/imagex.1.in
Support for splitting WIMs
[wimlib] / doc / imagex.1.in
1 .TH IMAGEX 1 "May 2012" "imagex (wimlib @VERSION@)" "User Commands"
2 .SH NAME
3 imagex \- Create, modify, extract, mount, or unmount a WIM (Windows Imaging Format) archive
4 .SH SYNOPSIS
5 \fBimagex append\fR \fIarguments...\fR
6 .br
7 \fBimagex apply\fR \fIarguments...\fR
8 .br
9 \fBimagex capture\fR \fIarguments...\fR
10 .br
11 \fBimagex delete\fR \fIarguments...\fR
12 .br
13 \fBimagex dir\fR \fIarguments...\fR
14 .br
15 \fBimagex export\fR \fIarguments...\fR
16 .br
17 \fBimagex info\fR \fIarguments...\fR
18 .br
19 \fBimagex join\fR \fIarguments...\fR
20 .br
21 \fBimagex mount\fR \fIarguments...\fR
22 .br
23 \fBimagex mountrw\fR \fIarguments...\fR
24 .br
25 \fBimagex split\fR \fIarguments...\fR
26 .br
27 \fBimagex unmount\fR \fIarguments...\fR
28
29 .SH DESCRIPTION
30 \fBimagex\fR is able to deal with archives in the Windows Imaging Format (.wim
31 files). Its interface is meant to be similar to Microsoft's imagex.exe program.
32
33 To do its work, \fBimagex\fR uses \fBwimlib\fR, a library which provides
34 interfaces for manipulating WIM archives.  You could wimlib in your own programs
35 if you wanted to.  Wimlib's public interface is documented.
36
37 See \fBWARNING\fR.
38
39 .SH COMMANDS
40
41 There is a separate manual page for each \fBimagex\fR command.
42
43 .SH SUPPORTED FEATURES
44
45 The following features are currently supported:
46
47 .IP \[bu] 2
48 Mount an image in a WIM read-only (\fBimagex mount\fR)
49 .IP \[bu] 2
50 Mount an image in a WIM read-write (\fBimagex mountrw\fR)
51 .IP \[bu] 2
52 Create a WIM from a directory (\fBimagex capture\fR)
53 .IP \[bu] 2
54 Append a directory onto a WIM as a new image (\fBimagex append\fR)
55 .IP \[bu] 2
56 Delete image(s) from a WIM (\fBimagex delete\fR)
57 .IP \[bu] 2
58 Export image(s) from a WIM (\fBimagex export\fR)
59 .IP \[bu] 2
60 Display information about a WIM file (\fBimagex info\fR, \fBimagex dir\fR)
61 .IP \[bu] 2
62 Change the name or description of an image in the WIM (\fBimagex info\fR)
63 .IP \[bu] 2
64 Change which image in a WIM is bootable (\fBimagex info\fR)
65 .IP \[bu] 2
66 Combining split WIMs into one WIM (\fBimage join\fR)
67 .IP \[bu] 2
68 Splitting a WIM into multiple parts (\fBimage split\fR)
69 .IP \[bu] 2
70 Support for all WIM compression types, both compression and decompression (LZX,
71 XPRESS, and none)
72 .IP \[bu] 2
73 Integrity table
74 .IP \[bu] 2
75 XML data (parsed and written using \fBlibxml\fR(3))
76
77 .SH UNSUPPORTED FEATURES
78 The following features are currently unsupported:
79 .IP \[bu] 2
80 File permissions and security descriptors are ignored.  The information
81 contained in them in an existing WIM will be lost when wimlib writes a WIM file.
82 This does not seem to matter for Windows PE, but this means that you should not
83 use this program to image a drive containing Windows Vista/7/8 and expect it to
84 be applied with the correct file permissions.
85 .IP \[bu] 2
86 Alternate file streams are unsupported and will be lost when wimlib writes a WIM
87 file.  Note that you shouldn't really have these on your Windows system anyway
88 because they are unneeded and a security risk.
89 .IP \[bu] 2
90 Directly applying or mounting split WIMs is unsupported.  You have to combine
91 them together with \fBimagex join\fR first.
92 .IP \[bu] 2
93 The \fB--verify\fR option, for all commands that use it is unsupported.  Without
94 this option, there theoretically could be a SHA1 hash collision between two
95 files, although it's very unlikely.
96 .IP \[bu] 2
97 The \fB--config\fR option, for all commands that use it
98 .IP \[bu] 2
99 Different versions of the WIM file format (if different versions even exist)
100
101 Also see the Doxygen documentation for Wimlib.
102
103 .SH DIFFERENCES FROM MICROSOFT IMAGEX
104
105 See \fBUNSUPPORTED FEATURES\fR.
106
107 The most important difference is that this version of \fBimagex\fR cannot
108 capture and restore Windows images losslessly because file permissions and
109 alternate file streams are ignored.  This is because Microsoft designed the WIM
110 format to be specific to their NTFS filesystem and the Windows security
111 model/API, which is difficult to support in a non-Windows program.  You can
112 still create images of Windows PE, however.
113
114 See the documentation for each subcommand of \fBimagex\fR; in some cases they do
115 not do exactly the same thing as imagex.exe.
116
117 Some features, such as the ability to keep files hard-linked when they are
118 extracted from a WIM, are not available in Microsoft's version of imagex.
119 Also, doesn't seem to be an equivalent of \fBimagex join\fR in Microsoft's
120 version; you would have to use \fBimagex.exe /export\fR, but that doesn't let
121 you export all images at once.
122
123 Microsoft's version has some weird limitations, like it won't let you extract a
124 WIM on a shared folder, and it requires some commands to be run only from
125 Windows PE and not from regular Windows.  This version does not have these
126 unusual limitations, although it won't actually run on Windows anyway.
127
128 The \fB/scroll\fR and \fB/log\fR switches from Microsoft's version of imagex
129 will not be implemented.  Note that to scroll the output in the UNIX shell you
130 can just pipe the output into \fBless\fR(1).
131
132 Obviously, this version of imagex is free software but Microsoft's version is
133 not.
134
135 .SH WARNING
136
137 Note: \fBwimlib\fR and \fBimagex\fR are experimental.  Use Microsoft's
138 imagex.exe if you have to make sure your WIM files are made "correctly".  Not
139 all features listed under \fBSUPPORTED FEATURES\fR have been thoroughly tested.
140 Feel free to submit a bug report if you find a bug.
141
142 Some parts of the WIM file format are poorly documented or even completely
143 undocumented, so I've just had to do the best I can to read and write WIMs in a
144 way that appears to be compatible with Microsoft's software.
145
146 .SH REPORTING BUGS
147
148 Report bugs to ebiggers3@gmail.com.
149
150 .SH SEE ALSO
151 .BR imagex-append (1),
152 .BR imagex-apply (1),
153 .BR imagex-capture (1),
154 .BR imagex-delete (1),
155 .BR imagex-dir (1),
156 .BR imagex-export (1),
157 .BR imagex-info (1),
158 .BR imagex-join (1),
159 .BR imagex-mount (1),
160 .BR imagex-mountrw (1),
161 .BR imagex-split (1),
162 .BR imagex-unmount (1),
163