1 //////////////////////////////////////////////////////////////////// 2 // Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine 3 // All rights reserved 4 // This file was released under the GPLv2 on June 2015. 5 //////////////////////////////////////////////////////////////////// 6 #include "udferr_usr.h" 7 8 struct err_msg_item mkudf_err_msg[] = { 9 {MKUDF_OK , "Format completed succesfully"}, 10 #include "udferr_usr_cpp.h" 11 //{MKUDF_HW_READ_ONLY , "Read-only media"}, 12 //{MKUDF_CANT_BLANK , "Can't erase disk"}, 13 {MKUDF_INVALID_PARAM_MT , "Unknown media type specified"}, 14 {MKUDF_INVALID_PARAM_PT , "Unknown partition type requested"}, 15 {MKUDF_INVALID_PARAM , "Invalid comand line"}, 16 {MKUDF_HW_CANT_READ_LAYOUT , "Can't read disk layout"}, 17 {MKUDF_AUTO_BLOCKCOUNT_FAILED , "Can't obtain last available block address"}, 18 {MKUDF_CANT_RECORD_BEA01 , "Write error: Can't record BEA01 descriptor"}, 19 {MKUDF_CANT_RECORD_NSR02 , "Write error: Can't record NSR02 descriptor"}, 20 {MKUDF_CANT_RECORD_TEA01 , "Write error: Can't record TEA01 descriptor"}, 21 {MKUDF_CANT_RECORD_ANCHOR , "Write error: Can't record Anchor Point descriptor"}, 22 {MKUDF_CANT_RECORD_PVD , "Write error: Can't record Primary Volume descriptor"}, 23 {MKUDF_CANT_RECORD_LVD , "Write error: Can't record Logical Volume descriptor"}, 24 {MKUDF_CANT_RECORD_LVID , "Write error: Can't record Logical Volume Integrity descriptor"}, 25 {MKUDF_CANT_RECORD_PARTD , "Write error: Can't record Partition descriptor"}, 26 {MKUDF_CANT_RECORD_USD , "Write error: Can't record Unallocated Space descriptor"}, 27 {MKUDF_CANT_RECORD_IUVD , "Write error: Can't record Implementation Use Volume descriptor"}, 28 {MKUDF_CANT_RECORD_TERMD , "Write error: Can't record Terminating descriptor"}, 29 {MKUDF_CANT_RECORD_FSD , "Write error: Can't record Free Space descriptor"}, 30 {MKUDF_CANT_RECORD_SPT , "Write error: Can't record File Set descriptor"}, 31 {MKUDF_PARTITION_TOO_SHORT , "Requested partition size is too small."}, 32 {MKUDF_CANT_RECORD_FSBM , "Write error: Can't record Free Space Bitmap"}, 33 {MKUDF_CANT_RECORD_ROOT_FE , "Write error: Can't record Root File Entry"}, 34 {MKUDF_CANT_RECORD_VAT_FE , "Write error: Can't record VAT File Entry"}, 35 {MKUDF_CANT_OPEN_FILE , "Can't open device or image file"}, 36 {MKUDF_CANT_RESERVE_TRACK , "Can't reserve track for UDF VAT partition"}, 37 {MKUDF_VAT_MULTISESS_NOT_SUPP , "Can't add UDF VAT session.\n" 38 "Blank (empty) media required"}, 39 {MKUDF_NOT_ENOUGH_PARAMS , "Too few command line parameters"}, 40 {MKUDF_INVALID_PT_FOR_HDD , "Invalid partition type for HDD"}, 41 {MKUDF_INVALID_PT_FOR_WORM , "Invalid partition type for CD-R"}, 42 {MKUDF_CANT_FORMAT , "Can't format media"}, 43 {MKUDF_MEDIA_TYPE_NOT_SUPP , "Unsupported media type"}, 44 {MKUDF_INVALID_PARAM_BC_FOR_VAT , "Block Count should not be specified for VAT partitions"}, 45 {MKUDF_HW_PARTITION_TOO_SHORT , "Not enough free space on media"}, 46 {MKUDF_CANT_LOCK_VOL , "Can't open volume for exclusive use"}, 47 {MKUDF_CANT_SET_WPARAMS , "Can't set Write Parameters to prepare for recording"}, 48 {MKUDF_HW_WRITE_ERROR , "Device write error"}, 49 {MKUDF_BLANK_MEDIA_REQUIRED , "Blank (empty) media required"}, 50 {MKUDF_INVALID_PT_FOR_BLANK , "Partition Type should not be specified for Erase operation"}, 51 {MKUDF_FINALIZE_TOO_MANY_PARAMS , "Extra parameters for VAT partition finalization"}, 52 {MKUDF_NO_ANCHOR_FOUND , "Can't locate UDF VAT partition: No valid Anchor Point descriptor found"}, 53 {MKUDF_HW_INVALID_NWA , "Invalid Next Writable Address returned"}, 54 {MKUDF_NO_MEDIA_IN_DEVICE , "No media in device"}, 55 {MKUDF_INVALID_BC , "Invalid Block Count"}, 56 {MKUDF_INVALID_MT_FOR_BLANK , "Can't erase CD/DVD-R"}, 57 {MKUDF_HW_CANT_SET_WRITE_PARAMS , "Can't set proper write mode"}, 58 {MKUDF_CANT_ALLOW_DASD_IO , "Direct access to volume not permitted"}, 59 {MKUDF_CANT_DISMOUNT_VOLUME , "Can't dismount volume"}, 60 {MKUDF_FORMAT_REQUIRED , "Disc is not formatted (empty).\n" 61 "Physical format required."}, 62 {MKUDF_FULL_BLANK_REQUIRED , "CD/DVD Drive requires Full Erase to proceed with format"}, 63 {MKUDF_NO_SUITABLE_MODE_FOR_FMT , "Can't find suitable write mode to format media"}, 64 {MKUDF_CANT_BLANK_DVDRAM , "DVD-RAM is not erasable"}, 65 {MKUDF_CANT_RESERVE_ISO_SPACE , "Can't allocate space for ISO structures"}, 66 {MKUDF_CANT_RECORD_NOTALLOC_FE , "Can't record Non-Allocated Space File Entry"}, 67 {MKUDF_BAD_BLOCK_IN_SYSTEM_AREA , "System area of the disk is completely damaged.\n" 68 "Sectors between 0 and 2048 are unusable."}, 69 {MKUDF_CANT_OPEN_ISO_IMAGE , "Can't open ISO image"}, 70 {MKUDF_BAD_ISO_IMAGE_ALIGN , "ISO image must be aligned to sector size (2048 bytes)"}, 71 {MKUDF_CANT_READ_ISO_IMAGE , "ISO image read error"}, 72 {MKUDF_CANT_WRITE_ISO_IMAGE , "Can't write ISO image to CD"}, 73 {MKUDF_INVALID_PARAM_SPEED , "Invalid speed value"}, 74 {MKUDF_CANT_MAKE_WINUDF , "System area of the disk contains some bad blocks.\n" 75 "Can't allocate disk structres in Windows-compatible fashion"}, 76 {MKUDF_FLUSH_ERROR , "Error during data flush. Disk may become unreadable or readonly"}, 77 {MKUDF_FINAL_VERIFY_FAILED , "Final post-formatting Volume verification failed"}, 78 {MKUDF_INSUFFICIENT_MEMORY , "Insufficient memory"}, 79 {MKUDF_CANT_CREATE_THREAD , "Can't start formatting thread"}, 80 {MKUDF_CANT_APPLY_R , "Can't use media as CD/DVD-R"}, 81 {MKUDF_USER_BREAK , "Operation aborted by user request"}, 82 {MKUDF_INVALID_USER_BUFFER , "Invalid user-supplied buffer"}, 83 {MKUDF_INTERNAL_ERROR , "Internal error"}, 84 {MKUDF_INVALID_PARAM_VFIN , "Invalid filename for input bad block list"}, 85 {MKUDF_INVALID_PARAM_VFOUT , "Invalid filename for bad block list storage"}, 86 {MKUDF_CANT_CREATE_BB_LOG , "Can't create file for bad block list"}, 87 {MKUDF_CANT_OPEN_BB_LOG , "Can't open file with bad block list"}, 88 {MKUDF_INSUFFICIENT_PRIVILIGES , "Insufficient privileges. Administrative rights required."}, 89 {MKUDF_BLANK_FORMAT_REQUIRED , "Disc is not formatted (contains not Packet-formatted tracks).\n" 90 "Erase and Physical format required."}, 91 {MKUDF_NO_DEVICE_NAME , "No device name specified."}, 92 {MKUDF_CANT_FLUSH , "Can't flush volume."}, 93 {MKUDF_INVALID_PARAM_ISO_MODE , "Invalid sector mode for ISO recording"}, 94 {MKUDF_INVALID_PARAM_ISO_SES , "Invalid multisession mode for ISO recording"}, 95 {MKUDF_SMART_BLANK_FORMAT_FAILED, "Disc is not empty.\n" 96 "Automatic erase+format failed."}, 97 {MKUDF_SMART_FORMAT_FAILED, "Disc is empty.\n" 98 "Automatic format failed."}, 99 {MKUDF_OTHER_PACKET_FS , "Disc is physically formatted, but contains other FS structures"}, 100 {MKUDF_RAW_PACKET_FS , "Disc is physically formatted and doesn't contain FS structures"}, 101 {MKUDF_CANT_ZERO , "Zero-filling failed after Erase-via-Format workaround."}, 102 103 {MKUDF_NO_UNERASE_FOR_THIS_MEDIA, "Unerase is available for CD media only."}, 104 {MKUDF_UNERASE_FAILED , "Can't start unerase process."}, 105 {MKUDF_INVALID_PARAM_REVISION , "Invalid UDF FS Revision."}, 106 {MKUDF_FORMAT_IN_PROGRESS , "Format or Erase is already started for this device."}, 107 108 {MKUDF_CANT_CREATE_ISO_IMAGE , "Can't create ISO image"}, 109 110 {MKUDF_ABORTED , "Aborted by user"}, 111 // {MKUDF_INVALID_MT_FOR_BLANK , "Can't blank WORM"}, 112 // {MKUDF_INVALID_MT_FOR_BLANK , "Can't blank WORM"}, 113 114 {CHKUDF_CANT_MOUNT , "Can't mount volume for checking"}, 115 116 {0xffffffff , "Unknown error"} 117 }; 118 119