// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : Types.cs
// Version : 1.0
// Author(s) : Natalia Portillo
//
// Component : Component
//
// Revision : $Revision$
// Last change by : $Author$
// Date : $Date$
//
// --[ Description ] ----------------------------------------------------------
//
// Description
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
//
// ----------------------------------------------------------------------------
// Copyright (C) 2011-2015 Claunia.com
// ****************************************************************************/
// //$Id$
using System;
namespace DiscImageChef.Decoders.SCSI
{
public enum MediumTypes : byte
{
Default = 0x00,
#region Medium Types defined in ECMA-111 for Direct-Access devices
///
/// ECMA-54: 200 mm Flexible Disk Cartridge using Two-Frequency Recording at 13262 ftprad on One Side
///
ECMA54 = 0x09,
///
/// ECMA-59 & ANSI X3.121-1984: 200 mm Flexible Disk Cartridge using Two-Frequency Recording at 13262 ftprad on Both Sides
///
ECMA59 = 0x0A,
///
/// ECMA-69: 200 mm Flexible Disk Cartridge using MFM Recording at 13262 ftprad on Both Sides
///
ECMA69 = 0x0B,
///
/// ECMA-66: 130 mm Flexible Disk Cartridge using Two-Frequency Recording at 7958 ftprad on One Side
///
ECMA66 = 0x0E,
///
/// ECMA-70 & ANSI X3.125-1985: 130 mm Flexible Disk Cartridge using MFM Recording at 7958 ftprad on Both Sides; 1,9 Tracks per mm
///
ECMA70 = 0x12,
///
/// ECMA-78 & ANSI X3.126-1986: 130 mm Flexible Disk Cartridge using MFM Recording at 7958 ftprad on Both Sides; 3,8 Tracks per mm
///
ECMA78 = 0x16,
///
/// ECMA-99 & ISO 8630-1985: 130 mm Flexible Disk Cartridge using MFM Recording at 13262 ftprad on Both Sides; 3,8 Tracks per mm
///
ECMA99 = 0x1A,
///
/// ECMA-100 & ANSI X3.137: 90 mm Flexible Disk Cartridge using MFM Recording at 7859 ftprad on Both Sides; 5,3 Tracks per mm
///
ECMA100 = 0x1E,
#endregion Medium Types defined in ECMA-111 for Direct-Access devices
#region Medium Types defined in SCSI-2 for Direct-Access devices
///
/// Unspecified single sided flexible disk
///
Unspecified_SS = 0x01,
///
/// Unspecified double sided flexible disk
///
Unspecified_DS = 0x02,
///
/// ANSI X3.73-1980: 200 mm, 6631 ftprad, 1,9 Tracks per mm, 1 side
///
X3_73 = 0x05,
///
/// ANSI X3.73-1980: 200 mm, 6631 ftprad, 1,9 Tracks per mm, 2 sides
///
X3_73_DS = 0x06,
///
/// ANSI X3.80-1980: 130 mm, 3979 ftprad, 1,9 Tracks per mm, 1 side
///
X3_82 = 0x0D,
///
/// 6,3 mm tape with 12 tracks at 394 ftpmm
///
Tape12 = 0x40,
///
/// 6,3 mm tape with 24 tracks at 394 ftpmm
///
Tape24 = 0x44,
#endregion Medium Types defined in SCSI-2 for Direct-Access devices
#region Medium Types defined in SCSI-3 SBC-1 for Optical devices
///
/// Read-only medium
///
ReadOnly = 0x01,
///
/// Write-once Read-many medium
///
WORM = 0x02,
///
/// Erasable medium
///
Erasable = 0x03,
///
/// Combination of read-only and write-once medium
///
RO_WORM = 0x04,
///
/// Combination of read-only and erasable medium
///
RO_RW = 0x05,
///
/// Combination of write-once and erasable medium
///
WORM_RW = 0x06,
#endregion Medium Types defined in SCSI-3 SBC-1 for Optical devices
#region Medium Types defined in SCSI-2 for MultiMedia devices
///
/// 120 mm CD-ROM
///
CDROM = 0x01,
///
/// 120 mm Compact Disc Digital Audio
///
CDDA = 0x02,
///
/// 120 mm Compact Disc with data and audio
///
MixedCD = 0x03,
///
/// 80 mm CD-ROM
///
CDROM_80 = 0x05,
///
/// 80 mm Compact Disc Digital Audio
///
CDDA_80 = 0x06,
///
/// 80 mm Compact Disc with data and audio
///
MixedCD_80 = 0x07,
#endregion Medium Types defined in SCSI-2 for MultiMedia devices
#region Medium Types defined in SFF-8020i
///
/// Unknown medium type
///
Unknown_CD = 0x00,
///
/// 120 mm Hybrid disc (Photo CD)
///
HybridCD = 0x04,
///
/// Unknown size CD-R
///
Unknown_CDR = 0x10,
///
/// 120 mm CD-R with data only
///
CDR = 0x11,
///
/// 120 mm CD-R with audio only
///
CDR_DA = 0x12,
///
/// 120 mm CD-R with data and audio
///
CDR_Mixed = 0x13,
///
/// 120 mm Hybrid CD-R (Photo CD)
///
HybridCDR = 0x14,
///
/// 80 mm CD-R with data only
///
CDR_80 = 0x15,
///
/// 80 mm CD-R with audio only
///
CDR_DA_80 = 0x16,
///
/// 80 mm CD-R with data and audio
///
CDR_Mixed_80 = 0x17,
///
/// 80 mm Hybrid CD-R (Photo CD)
///
HybridCDR_80 = 0x18,
///
/// Unknown size CD-RW
///
Unknown_CDRW = 0x20,
///
/// 120 mm CD-RW with data only
///
CDRW = 0x21,
///
/// 120 mm CD-RW with audio only
///
CDRW_DA = 0x22,
///
/// 120 mm CD-RW with data and audio
///
CDRW_Mixed = 0x23,
///
/// 120 mm Hybrid CD-RW (Photo CD)
///
HybridCDRW = 0x24,
///
/// 80 mm CD-RW with data only
///
CDRW_80 = 0x25,
///
/// 80 mm CD-RW with audio only
///
CDRW_DA_80 = 0x26,
///
/// 80 mm CD-RW with data and audio
///
CDRW_Mixed_80 = 0x27,
///
/// 80 mm Hybrid CD-RW (Photo CD)
///
HybridCDRW_80 = 0x28,
///
/// Unknown size HD disc
///
Unknown_HD = 0x30,
///
/// 120 mm HD disc
///
HD = 0x31,
///
/// 80 mm HD disc
///
HD_80 = 0x35,
///
/// No disc inserted, tray closed or caddy inserted
///
NoDisc = 0x70,
///
/// Tray open or no caddy inserted
///
TrayOpen = 0x71,
///
/// Tray closed or caddy inserted but medium error
///
MediumError = 0x72,
#endregion Medium Types defined in SFF-8020i
#region Medium Types defined in USB Mass Storage Class - UFI Command Specification
///
/// 3.5-inch, 135 tpi, 12362 bits/radian, double-sided MFM (aka 1.25Mb)
///
Type3Floppy = 0x93,
///
/// 3.5-inch, 135 tpi, 15916 bits/radian, double-sided MFM (aka 1.44Mb)
///
HDFloppy = 0x94,
#endregion Medium Types defined in USB Mass Storage Class - UFI Command Specification
#region Medium Types defined in INF-8070
///
/// Unknown type block device
///
UnknownBlockDevice = 0x40,
///
/// Read-only block device
///
ReadOnlyBlockDevice = 0x41,
///
/// Read/Write block device
///
ReadWriteBlockDevice = 0x42,
#endregion Medium Types defined in INF-8070
#region Medium Types found in vendor documents
///
/// LTO WORM as reported by HP drives
///
LTOWORM = 0x01,
///
/// LTO cleaning cartridge as reported by Certance/Seagate drives
///
LTOCleaning = 0x01,
///
/// Direct-overwrite magneto-optical
///
DOW = 0x07,
///
/// LTO Ultrium
///
LTO = 0x18,
///
/// LTO Ultrium-2
///
LTO2 = 0x28,
///
/// DC-2900SL
///
DC2900SL = 0x31,
///
/// MLR-1
///
MLR1 = 0x33,
///
/// DDS-3
///
DDS3 = 0x33,
///
/// DC-9200
///
DC9200 = 0x34,
///
/// DDS-4
///
DDS4 = 0x34,
///
/// DAT-72
///
DAT72 = 0x35,
///
/// LTO Ultrium-3
///
LTO3 = 0x38,
///
/// LTO Ultrium-3 WORM
///
LTO3WORM = 0x3C,
///
/// DDS cleaning cartridge
///
DDSCleaning = 0x3F,
///
/// DC-9250
///
DC9250 = 0x40,
///
/// SLR-32
///
SLR32 = 0x43,
///
/// MLR-1SL
///
MLR1SL = 0x44,
///
/// SLRtape-50
///
SLRtape50 = 0x47,
///
/// LTO Ultrium-4
///
LTO4 = 0x48,
///
/// LTO Ultrium-4 WORM
///
LTO4WORM = 0x4C,
///
/// SLRtape-50SL
///
SLRtape50SL = 0x50,
///
/// SLR-32SL
///
SLR32SL = 0x54,
///
/// SLR-5
///
SLR5 = 0x55,
///
/// SLR-5SL
///
SLR5SL = 0x56,
///
/// LTO Ultrium-5
///
LTO5 = 0x58,
///
/// LTO Ultrium-5 WORM
///
LTO5WORM = 0x5C,
///
/// SLRtape-7
///
SLRtape7 = 0x63,
///
/// SLRtape-7SL
///
SLRtape7SL = 0x64,
///
/// SLRtape-24
///
SLRtape24 = 0x65,
///
/// SLRtape-24SL
///
SLRtape24SL = 0x66,
///
/// LTO Ultrium-6
///
LTO6 = 0x68,
///
/// LTO Ultrium-6 WORM
///
LTO6WORM = 0x6C,
///
/// SLRtape-140
///
SLRtape140 = 0x70,
///
/// SLRtape-40
///
SLRtape40 = 0x73,
///
/// SLRtape-60
///
SLRtape60 = 0x74,
///
/// SLRtape-75
///
SLRtape75 = 0x74,
///
/// SLRtape-100
///
SLRtape100 = 0x75,
///
/// SLR-40 or SLR-60 or SLR-100
///
SLR40_60_100 = 0x76,
///
/// LTO Ultrium-7
///
LTO7 = 0x78,
///
/// LTO Ultrium-7 WORM
///
LTO7WORM = 0x7C,
///
/// HP LTO emulating a CD
///
LTOCD = 0x80,
///
/// Exatape 15m
///
Exatape15m = 0x81,
///
/// IBM MagStar
///
MagStar = 0x81,
///
/// VXA
///
VXA = 0x81,
///
/// CompactTape I
///
CT1 = 0x82,
///
/// Exatape 28m
///
Exatape28m = 0x82,
///
/// CompactTape II
///
CT2 = 0x82,
///
/// VXA-2
///
VXA2 = 0x82,
///
/// VXA-3
///
VXA3 = 0x82,
///
/// Exatape 54m
///
Exatape54m = 0x83,
///
/// DLTtape III
///
DLTtapeIII = 0x83,
///
/// Exatape 80m
///
Exatape80m = 0x84,
///
/// DLTtape IIIxt
///
DLTtapeIIIxt = 0x84,
///
/// Exatape 106m
///
Exatape106m = 0x85,
///
/// DLTtape IV
///
DLTtapeIV = 0x85,
///
/// Travan 5
///
Travan5 = 0x85,
///
/// Exatape 106m XL
///
Exatape106mXL = 0x86,
///
/// SuperDLT I
///
SDLT1 = 0x86,
///
/// SuperDLT II
///
SDLT2 = 0x87,
///
/// VStape I
///
VStapeI = 0x90,
///
/// DLTtape S4
///
DLTtapeS4 = 0x91,
///
/// Travan 7
///
Travan7 = 0x95,
///
/// Exatape 22m
///
Exatape22m = 0xC1,
///
/// Exatape 40m
///
Exatape40m = 0xC2,
///
/// Exatape 76m
///
Exatape76m = 0xC3,
///
/// Exatape 112m
///
Exatape112m = 0xC4,
///
/// Exatape 22m AME
///
Exatape22mAME = 0xD1,
///
/// Exatape 170m
///
Exatape170m = 0xD2,
///
/// Exatape 125m
///
Exatape125m = 0xD3,
///
/// Exatape 45m
///
Exatape45m = 0xD4,
///
/// Exatape 225m
///
Exatape225m = 0xD5,
///
/// Exatape 150m
///
Exatape150m = 0xD6,
///
/// Exatape 75m
///
Exatape75m = 0xD7,
#endregion Medium Types found in vendor documents
}
public enum DensityType : byte
{
Default = 0x00,
#region Density Types defined in ECMA-111 for Direct-Access devices
///
/// 7958 flux transitions per radian
///
Flux7958 = 0x01,
///
/// 13262 flux transitions per radian
///
Flux13262 = 0x02,
///
/// 15916 flux transitions per radian
///
Flux15916 = 0x03,
#endregion Density Types defined in ECMA-111 for Direct-Access devices
#region Density Types defined in ECMA-111 for Sequential-Access devices
///
/// ECMA-62 & ANSI X3.22-1983: 12,7 mm 9-Track Magnetic Tape, 32 ftpmm, NRZI, 32 cpmm
///
ECMA62 = 0x01,
///
/// ECMA-62 & ANSI X3.39-1986: 12,7 mm 9-Track Magnetic Tape, 126 ftpmm, Phase Encoding, 63 cpmm
///
ECMA62_Phase = 0x02,
///
/// ECMA-62 & ANSI X3.54-1986: 12,7 mm 9-Track Magnetic Tape, 356 ftpmm, NRZI, 245 cpmm GCR
///
ECMA62_GCR = 0x03,
///
/// ECMA-79 & ANSI X3.116-1986: 6,30 mm Magnetic Tape Cartridge using MFM Recording at 252 ftpmm
///
ECMA79 = 0x07,
///
/// Draft ECMA & ANSI X3B5/87-099: 12,7 mm Magnetic Tape Cartridge using IFM Recording on 18 Tracks at 1944 ftpmm, GCR (IBM 3480, 3490, 3490E)
///
IBM3480 = 0x09,
///
/// ECMA-46 & ANSI X3.56-1986: 6,30 mm Magnetic Tape Cartridge, Phase Encoding, 63 bpmm
///
ECMA46 = 0x0B,
///
/// ECMA-98: 6,30 mm Magnetic Tape Cartridge, NRZI Recording, 394 ftpmm
///
ECMA98 = 0x0E,
#endregion Density Types defined in ECMA-111 for Sequential-Access devices
#region Density Types defined in SCSI-2 for Sequential-Access devices
///
/// ANXI X3.136-1986: 6,35 mm 4 or 9-Track Magnetic Tape Cartridge, 315 bpmm, GCR (QIC-24)
///
X3_136 = 0x05,
///
/// ANXI X3.157-1987: 12,7 mm 9-Track Magnetic Tape, 126 bpmm, Phase Encoding
///
X3_157 = 0x06,
///
/// ANXI X3.158-1987: 3,81 mm 4-Track Magnetic Tape Cassette, 315 bpmm, GCR
///
X3_158 = 0x08,
///
/// ANXI X3B5/86-199: 12,7 mm 22-Track Magnetic Tape Cartridge, 262 bpmm, MFM
///
X3B5_86 = 0x0A,
///
/// HI-TC1: 12,7 mm 24-Track Magnetic Tape Cartridge, 500 bpmm, GCR
///
HiTC1 = 0x0C,
///
/// HI-TC2: 12,7 mm 24-Track Magnetic Tape Cartridge, 999 bpmm, GCR
///
HiTC2 = 0x0D,
///
/// QIC-120: 6,3 mm 15-Track Magnetic Tape Cartridge, 394 bpmm, GCR
///
QIC120 = 0x0F,
///
/// QIC-150: 6,3 mm 18-Track Magnetic Tape Cartridge, 394 bpmm, GCR
///
QIC150 = 0x10,
///
/// QIC-320: 6,3 mm 26-Track Magnetic Tape Cartridge, 630 bpmm, GCR
///
QIC320 = 0x11,
///
/// QIC-1350: 6,3 mm 30-Track Magnetic Tape Cartridge, 2034 bpmm, RLL
///
QIC1350 = 0x12,
///
/// ANXI X3B5/88-185A: 3,81 mm Magnetic Tape Cassette, 2400 bpmm, DDS
///
X3B5_88 = 0x13,
///
/// ANXI X3.202-1991: 8 mm Magnetic Tape Cassette, 1703 bpmm, RLL
///
X3_202 = 0x14,
///
/// ECMA TC17: 8 mm Magnetic Tape Cassette, 1789 bpmm, RLL
///
ECMA_TC17 = 0x15,
///
/// ANXI X3.193-1990: 12,7 mm 48-Track Magnetic Tape Cartridge, 394 bpmm, MFM
///
X3_193 = 0x16,
///
/// ANXI X3B5/97-174: 12,7 mm 48-Track Magnetic Tape Cartridge, 1673 bpmm, MFM
///
X3B5_91 = 0x17,
#endregion Density Types defined in SCSI-2 for Sequential-Access devices
#region Density Types defined in SCSI-2 for MultiMedia devices
///
/// User data only
///
User = 0x01,
///
/// User data plus auxiliary data field
///
UserAuxiliary = 0x02,
///
/// 4-byt tag field, user data plus auxiliary data
///
UserAuxiliaryTag = 0x03,
///
/// Audio information only
///
Audio = 0x04,
#endregion Density Types defined in SCSI-2 for MultiMedia devices
#region Density Types defined in SCSI-2 for Optical devices
///
/// ISO/IEC 10090: 86 mm Read/Write single-sided optical disc with 12500 tracks
///
ISO10090 = 0x01,
///
/// 89 mm Read/Write double-sided optical disc with 12500 tracks
///
D581 = 0x02,
///
/// ANSI X3.212: 130 mm Read/Write double-sided optical disc with 18750 tracks
///
X3_212 = 0x03,
///
/// ANSI X3.191: 130 mm Write-Once double-sided optical disc with 30000 tracks
///
X3_191 = 0x04,
///
/// ANSI X3.214: 130 mm Write-Once double-sided optical disc with 20000 tracks
///
X3_214 = 0x05,
///
/// ANSI X3.211: 130 mm Write-Once double-sided optical disc with 18750 tracks
///
X3_211 = 0x06,
///
/// 200 mm optical disc
///
D407 = 0x07,
///
/// ISO/IEC 13614: 300 mm double-sided optical disc
///
ISO13614 = 0x08,
///
/// ANSI X3.200: 356 mm double-sided optical disc with 56350 tracks
///
X3_200 = 0x09,
#endregion Density Types defined in SCSI-2 for Optical devices
#region Density Types found in vendor documents
///
/// QIC-11
///
QIC11 = 0x04,
///
/// CompactTape I
///
CT1 = 0x0A,
///
/// Exabyte 8200 format
///
Ex8200 = 0x14,
///
/// Exabyte 8500 format
///
Ex8500 = 0x15,
///
/// CompactTape II
///
CT2 = 0x16,
///
/// DLTtape III 42500 bpi
///
DLT3_42k = 0x17,
///
/// DLTtape III 56 track
///
DLT3_56t = 0x18,
///
/// DLTtape III 62500 bpi
///
DLT3_62k = 0x19,
///
/// DLTtape IV
///
DLT4 = 0x1A,
///
/// DLTtape IV 85937 bpi
///
DLT4_85k = 0x1B,
///
/// DDS-3
///
DDS3 = 0x25,
///
/// DDS-4
///
DDS4 = 0x26,
///
/// Exabyte Mammoth
///
Mammoth = 0x27,
///
/// IBM 3490 & 3490E
///
IBM3490E = 0x28,
///
/// Exabyte Mammoth-2
///
Mammoth2 = 0x28,
///
/// IBM 3590
///
IBM3590 = 0x29,
///
/// IBM 3590E
///
IBM3590E = 0x2A,
///
/// AIT-1
///
AIT1 = 0x30,
///
/// AIT-2
///
AIT2 = 0x31,
///
/// AIT-3
///
AIT3 = 0x32,
///
/// DLTtape IV 123090 bpi
///
DLT4_123k = 0x40,
///
/// Ultrium-1
///
LTO1 = 0x40,
///
/// Super AIT-1
///
SAIT1 = 0x40,
///
/// DLTtape IV 85937 bpi
///
DLT4_98k = 0x41,
///
/// Ultrium-2 as reported by the Certance drive
///
LTO2Old = 0x41,
///
/// Ultrium-2
///
LTO2 = 0x42,
///
/// T9840
///
T9840 = 0x42,
///
/// T9940
///
T9940 = 0x43,
///
/// Ultrium-
///
LTO3 = 0x44,
///
/// T9840C
///
T9840C = 0x45,
///
/// Travan 5
///
Travan5 = 0x46,
///
/// Ultrium-4
///
LTO4 = 0x46,
///
/// T9840D
///
T9840D = 0x46,
///
/// DAT-72
///
DAT72 = 0x47,
///
/// Super DLTtape I 133000 bpi
///
SDLT1_133k = 0x48,
///
/// Super DLTtape I
///
SDLT1 = 0x49,
///
/// T10000A
///
T10000A = 0x4A,
///
/// Super DLTtape II
///
SDLT2 = 0x4A,
///
/// DLTtape S4
///
DLTS4 = 0x4B,
///
/// T10000B
///
T10000B = 0x4B,
///
/// T10000C
///
T10000C = 0x4C,
///
/// T10000D
///
T10000D = 0x4D,
///
/// VStape I
///
VStape1 = 0x40,
///
/// Ultrium-5
///
LTO5 = 0x58,
///
/// Ultrium-6
///
LTO6 = 0x5A,
///
/// Ultrium-7
///
LTO7 = 0x5C,
///
/// DLTtape III 62500 bpi secondary code
///
DLT3_62kAlt = 0x80,
///
/// VXA-1
///
VXA1 = 0x80,
///
/// DLTtape III compressed
///
DLT3c = 0x81,
///
/// VXA-2
///
VXA2 = 0x81,
///
/// DLTtape IV secondary code
///
DLT4Alt = 0x82,
///
/// VXA-3
///
VXA3 = 0x82,
///
/// DLTtape IV compressed
///
DLT4c = 0x83,
///
/// DLTtape IV 85937 bpi secondary code
///
DLT4_85kAlt = 0x84,
///
/// DLTtape IV 85937 bpi compressed
///
DLT4c_85k = 0x85,
///
/// DLTtape IV 123090 bpi secondary code
///
DLT4_123kAlt = 0x86,
///
/// DLTtape IV 123090 bpi compressed
///
DLT4c_123k = 0x87,
///
/// DLTtape IV 98250 bpi secondary code
///
DLT4_98kAlt = 0x88,
///
/// DLTtape IV 98250 bpi compressed
///
DLT4c_98k = 0x89,
///
/// Exabyte compressed 8200 format
///
Ex8500c = 0x8C,
///
/// Exabyte compressed 8500 format
///
Ex8200c = 0x90,
///
/// Super DLTtape I secondary code
///
SDLT1Alt = 0x90,
///
/// Super DLTtape I compressed
///
SDLT1c = 0x91,
///
/// Super DLTtape I 133000 bpi secondary code
///
SDLT1_133kAlt = 0x92,
///
/// Super DLTtape I 133000 bpi compressed
///
SDLT1c_133k = 0x93,
///
/// VStape I secondary code
///
VStape1Alt = 0x98,
///
/// VStape I compressed
///
VStape1c = 0x99,
#endregion Density Types found in vendor documents
}
}