- if (total_parts == 1)
- DEBUG("Writing standalone WIM.");
- else
- DEBUG("Writing split WIM part %u/%u", part_number, total_parts);
- if (image == WIMLIB_ALL_IMAGES)
- DEBUG("Including all images.");
- else
- DEBUG("Including image %d only.", image);
- if (write_flags & WIMLIB_WRITE_FLAG_FILE_DESCRIPTOR)
- DEBUG("File descriptor: %d", *(const int*)path_or_fd);
- else
- DEBUG("Path: \"%"TS"\"", (const tchar*)path_or_fd);
- DEBUG("Write flags: 0x%08x", write_flags);
-
- if (write_flags & WIMLIB_WRITE_FLAG_CHECK_INTEGRITY)
- DEBUG("\tCHECK_INTEGRITY");
-
- if (write_flags & WIMLIB_WRITE_FLAG_NO_CHECK_INTEGRITY)
- DEBUG("\tNO_CHECK_INTEGRITY");
-
- if (write_flags & WIMLIB_WRITE_FLAG_PIPABLE)
- DEBUG("\tPIPABLE");
-
- if (write_flags & WIMLIB_WRITE_FLAG_NOT_PIPABLE)
- DEBUG("\tNOT_PIPABLE");
-
- if (write_flags & WIMLIB_WRITE_FLAG_RECOMPRESS)
- DEBUG("\tRECOMPRESS");
-
- if (write_flags & WIMLIB_WRITE_FLAG_FSYNC)
- DEBUG("\tFSYNC");
-
- if (write_flags & WIMLIB_WRITE_FLAG_REBUILD)
- DEBUG("\tREBUILD");
-
- if (write_flags & WIMLIB_WRITE_FLAG_SOFT_DELETE)
- DEBUG("\tSOFT_DELETE");
-
- if (write_flags & WIMLIB_WRITE_FLAG_IGNORE_READONLY_FLAG)
- DEBUG("\tIGNORE_READONLY_FLAG");
-
- if (write_flags & WIMLIB_WRITE_FLAG_SKIP_EXTERNAL_WIMS)
- DEBUG("\tSKIP_EXTERNAL_WIMS");
-
- if (write_flags & WIMLIB_WRITE_FLAG_STREAMS_OK)
- DEBUG("\tSTREAMS_OK");
-
- if (write_flags & WIMLIB_WRITE_FLAG_RETAIN_GUID)
- DEBUG("\tRETAIN_GUID");
-
- if (write_flags & WIMLIB_WRITE_FLAG_SOLID)
- DEBUG("\tSOLID");
-
- if (write_flags & WIMLIB_WRITE_FLAG_SEND_DONE_WITH_FILE_MESSAGES)
- DEBUG("\tSEND_DONE_WITH_FILE_MESSAGES");
-
- if (write_flags & WIMLIB_WRITE_FLAG_NO_SOLID_SORT)
- DEBUG("\tNO_SOLID_SORT");
-
- if (write_flags & WIMLIB_WRITE_FLAG_FILE_DESCRIPTOR)
- DEBUG("\tFILE_DESCRIPTOR");
-
- if (write_flags & WIMLIB_WRITE_FLAG_NO_METADATA)
- DEBUG("\tNO_METADATA");
-
- if (write_flags & WIMLIB_WRITE_FLAG_USE_EXISTING_TOTALBYTES)
- DEBUG("\tUSE_EXISTING_TOTALBYTES");
-
- if (num_threads == 0)
- DEBUG("Number of threads: autodetect");
- else
- DEBUG("Number of threads: %u", num_threads);
- DEBUG("Progress function: %s", (wim->progfunc ? "yes" : "no"));
- DEBUG("Blob list: %s", (blob_list_override ? "specified" : "autodetect"));
- DEBUG("GUID: %s", (write_flags &
- WIMLIB_WRITE_FLAG_RETAIN_GUID) ? "retain"
- : guid ? "explicit" : "generate new");
-