]> wimlib.net Git - wimlib/commitdiff
Fix WIM_HDR_FLAG_{WRITE_IN_PROGRESS,READONLY} docs
authorEric Biggers <ebiggers3@gmail.com>
Wed, 22 May 2013 19:23:35 +0000 (14:23 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 22 May 2013 19:23:35 +0000 (14:23 -0500)
include/wimlib/header.h

index b250381ca9c4ec694fd04337e8ce51d9c75c259c..0702b45bfa9b9c30af662ee0e074cc46033b510e 100644 (file)
@@ -64,7 +64,8 @@ struct wim_header {
 /* Files and metadata in the WIM are compressed. */
 #define WIM_HDR_FLAG_COMPRESSION        0x00000002
 
 /* Files and metadata in the WIM are compressed. */
 #define WIM_HDR_FLAG_COMPRESSION        0x00000002
 
-/* WIM is read-only (wimlib ignores this because it's pretty much pointless) */
+/* WIM is read-only, so modifications should not be allowed even if the WIM is
+ * writable at the filesystem level. */
 #define WIM_HDR_FLAG_READONLY           0x00000004
 
 /* Resource data specified by images in this WIM may be contained in a different
 #define WIM_HDR_FLAG_READONLY           0x00000004
 
 /* Resource data specified by images in this WIM may be contained in a different
@@ -79,9 +80,7 @@ struct wim_header {
  * metadata resources for a split WIM should be in the first part. */
 #define WIM_HDR_FLAG_METADATA_ONLY      0x00000020
 
  * metadata resources for a split WIM should be in the first part. */
 #define WIM_HDR_FLAG_METADATA_ONLY      0x00000020
 
-/* Lock field to prevent multiple writers from writing the WIM concurrently.
- * wimlib ignores this flag as it uses flock() to acquire a real lock on the
- * file (if supported by the underlying filesystem). */
+/* The WIM is currently being written or appended to.  */
 #define WIM_HDR_FLAG_WRITE_IN_PROGRESS  0x00000040
 
 /* Reparse point fixup flag.  See docs for --rpfix and --norpfix in imagex, or
 #define WIM_HDR_FLAG_WRITE_IN_PROGRESS  0x00000040
 
 /* Reparse point fixup flag.  See docs for --rpfix and --norpfix in imagex, or