]> wimlib.net Git - wimlib/commitdiff
imagex-apply.1 updates
authorEric Biggers <ebiggers3@gmail.com>
Sat, 1 Sep 2012 20:26:49 +0000 (15:26 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 1 Sep 2012 20:26:49 +0000 (15:26 -0500)
doc/imagex-apply.1.in
doc/imagex-join.1.in
doc/imagex-split.1.in
src/wim.c
src/wimlib.h

index e9dd4684fd6a663daae20fb0ba6ba3e5d5387b25..7c539463d02fe19eb909a52392b3e45c1c48b29a 100644 (file)
@@ -24,20 +24,20 @@ specifies a regular file or block device, it is interpreted as a NTFS volume to
 which the WIM image is to be extracted.
 
 \fBimagex apply\fR supports applying images from stand-alone WIMs as well as
 which the WIM image is to be extracted.
 
 \fBimagex apply\fR supports applying images from stand-alone WIMs as well as
-split WIM.  See \fBSPLIT WIMS\fR.
+split WIMs.  See \fBSPLIT WIMS\fR.
 
 .SH NORMAL MODE
 
 The normal extraction mode is entered when \fITARGET\fR is a directory or
 
 .SH NORMAL MODE
 
 The normal extraction mode is entered when \fITARGET\fR is a directory or
-non-existent file.  If a single WIM image is being extracted, it will be
-extracted with the root of the image corresponding to the directory named by
+non-existent file.  If a single WIM image is being extracted, it is extracted
+with the root directory of the image corresponding to the directory named by
 \fITARGET\fR; or, if the keyword \fBall\fR is given, the images are extracted
 \fITARGET\fR; or, if the keyword \fBall\fR is given, the images are extracted
-into subdirectories of \fITARGET\fR that will be named after the image names,
-falling back to the image indices if there is an image with no name.
-\fITARGET\fR can specify a directory on any type of filesystem.
+into subdirectories of \fITARGET\fR that are be named after the image names,
+falling back to the image index for an image with no name.  \fITARGET\fR can
+specify a directory on any type of filesystem.
 
 
-In the normal mode of extraction, the following information will be extracted
-from the WIM image(s):
+In the normal mode of extraction, the following information is extracted from
+the WIM image(s):
 
 .IP \[bu] 4
 The default (unnamed) data stream of each file
 
 .IP \[bu] 4
 The default (unnamed) data stream of each file
@@ -69,10 +69,11 @@ Short (DOS) names for files
 .SH NTFS MODE
 
 A special extraction mode is entered when \fITARGET\fR is a regular file or
 .SH NTFS MODE
 
 A special extraction mode is entered when \fITARGET\fR is a regular file or
-block device.  \fITARGET\fR is interpreted as an NTFS volume and opened using
-libntfs-3g.  If successful, the WIM image is extracted to the root of the NTFS
-volume in a special mode that preserves all, or almost all, information
-contained in the WIM.  \fIIMAGE\fR may not be "all" for this action.
+block device.  If this is the case, \fITARGET\fR is interpreted as an NTFS
+volume and opened using libntfs-3g.  If successful, the WIM image is extracted
+to the root of the NTFS volume in a special mode that preserves all, or almost
+all, information contained in the WIM.  \fIIMAGE\fR may not be "all" for this
+action.
 
 The NTFS volume does not need to be empty, although it's expected that it be
 empty for the intended use cases.  A new NTFS filesystem can be created using
 
 The NTFS volume does not need to be empty, although it's expected that it be
 empty for the intended use cases.  A new NTFS filesystem can be created using
@@ -223,11 +224,12 @@ applied.  See \fBSPLIT_WIMS\fR.
 extracts and verifies that it is the same as the SHA1 message digest provided in
 the WIM file.  It is an error if the message digests don't match.  It's also
 considered to be an error if any WIM resources cannot be found in the stream
 extracts and verifies that it is the same as the SHA1 message digest provided in
 the WIM file.  It is an error if the message digests don't match.  It's also
 considered to be an error if any WIM resources cannot be found in the stream
-lookup table.  So you can be sure that the files are extracted correctly, even
-though we don't provide a \fB/verify\fR option like Microsoft's version of
-imagex does.  Please note that this is separate from the integrity table of the
-WIM, which provides SHA1 message digests over raw chunks of the entire WIM file
-and is checked separately if the \fB--check\fR option is specified.
+lookup table.  So you can be fairly certain that the file streams are extracted
+correctly, even though we don't provide a \fB/verify\fR option like Microsoft's
+version of imagex does.  Please note that this is separate from the integrity
+table of the WIM, which provides SHA1 message digests over raw chunks of the
+entire WIM file and is checked separately if the \fB--check\fR option is
+specified.
 
 .SH EXAMPLES
 .SS Normal extraction mode
 
 .SH EXAMPLES
 .SS Normal extraction mode
index 596049f2faa94c8f33b18b5be0584122499572fe..0a1feff5a97274ec05b0d0e11f2bd4fe6831145b 100644 (file)
@@ -12,7 +12,6 @@ Joins the \fISPLIT_WIMs\fR into a standalone one-part WIM \fIOUT_WIMFILE\fR.
 All parts of the split WIM  must be specified.  You probably want to do so using
 a shell wildcard.
 
 All parts of the split WIM  must be specified.  You probably want to do so using
 a shell wildcard.
 
-
 .SH OPTIONS
 .TP 6
 \fB--check\fR
 .SH OPTIONS
 .TP 6
 \fB--check\fR
@@ -22,12 +21,21 @@ write an integrity table.  If this option is not specified, no integrity table
 is included in the new WIM file, even if there was one before.
 
 .SH EXAMPLES
 is included in the new WIM file, even if there was one before.
 
 .SH EXAMPLES
-.IP 
-imagex join windows.wim windows*.swm
-.LP
 Join a split WIM, with the parts named `windows*.swm' where the * is anything
 (usually the number of the part, except for the first part which may have no
 Join a split WIM, with the parts named `windows*.swm' where the * is anything
 (usually the number of the part, except for the first part which may have no
-number), and write the joined with to the file `windows.wim'.
+number), and write the joined WIM to the file `windows.wim'.
+.RS
+.PP
+imagex join windows.wim windows*.swm
+.RE
+
+.SH NOTES
+You can also use \fBimagex export\fR to export all images from a split WIM.
+This would be nearly the same as \fBimagex join\fR, although some information in
+the XML data could be discarded.
+
+Perhaps for this reason, Microsoft's implementation of imagex does not provide a
+\fB/join\fR option.
 
 .SH SEE ALSO
 .BR imagex (1)
 
 .SH SEE ALSO
 .BR imagex (1)
index eff44184177f071d148476458d6653fb7ca635c5..31b7261914179f66970c2d86b6f8dbd71f8533f5 100644 (file)
@@ -21,11 +21,12 @@ table.  If this option is not specified, no integrity tables are included in the
 split WIM files, even if there was one in the original WIM.
 
 .SH EXAMPLES
 split WIM files, even if there was one in the original WIM.
 
 .SH EXAMPLES
-.IP 
-imagex split windows.wim windows.swm 100
-.LP
 Splits the WIM 'windows.wim' into 'windows.swm', 'windows2.swm', 'windows3.swm',
 Splits the WIM 'windows.wim' into 'windows.swm', 'windows2.swm', 'windows3.swm',
-etc. where each part is at most 100 MiB.
+etc. where each part is at most 100 MiB:
+.RS
+.PP
+imagex split windows.wim windows.swm 100
+.RE
 
 .SH NOTE
 
 
 .SH NOTE
 
index 2c67ebabb4edf5b267a27f0fb747e6b77aa2dc10..68e54bb85f6ad827eb6849590bb0b43dfa0b7573 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -259,7 +259,8 @@ WIMLIBAPI int wimlib_resolve_image(WIMStruct *w, const char *image_name_or_num)
        if (!image_name_or_num)
                return WIM_NO_IMAGE;
 
        if (!image_name_or_num)
                return WIM_NO_IMAGE;
 
-       if (strcmp(image_name_or_num, "all") == 0)
+       if (strcmp(image_name_or_num, "all") == 0
+           || strcmp(image_name_or_num, "*") == 0)
                return WIM_ALL_IMAGES;
        image = strtol(image_name_or_num, &p, 10);
        if (p != image_name_or_num && *p == '\0') {
                return WIM_ALL_IMAGES;
        image = strtol(image_name_or_num, &p, 10);
        if (p != image_name_or_num && *p == '\0') {
index 648345a5236bdd1655af4c16897485b1bc2776da..00e81e902f5421ba2ce0b858219da76058fd6c80 100644 (file)
@@ -1216,8 +1216,8 @@ extern void wimlib_print_wim_information(const WIMStruct *wim);
  *     A string specifying which image.  If it begins with a number, it is
  *     taken to be a string specifying the image number.  Otherwise, it is
  *     taken to be the name of an image, as specified in the XML data for the
  *     A string specifying which image.  If it begins with a number, it is
  *     taken to be a string specifying the image number.  Otherwise, it is
  *     taken to be the name of an image, as specified in the XML data for the
- *     WIM file.  It also may be the keyword "all", which will resolve to
- *     ::WIM_ALL_IMAGES.
+ *     WIM file.  It also may be the keyword "all" or the string "*", both of
+ *     which will resolve to ::WIM_ALL_IMAGES.
  *
  * @return 
  *     If the string resolved to a single existing image, the number of that
  *
  * @return 
  *     If the string resolved to a single existing image, the number of that