GView icon indicating copy to clipboard operation
GView copied to clipboard

[ISO] (9660 at least) plugin creation

Open gheorghitamutu opened this issue 2 years ago • 4 comments

43 44 30 30 31 CD001 ISO ISO-9660 CD Disc Image This signature usually occurs at byte offset 32769 (0x8001), 34817 (0x8801), or 36865 (0x9001). More information can be found at MacTech or at ECMA.

43 44 30 30 31 | CD001 | 0x8001 0x8801 0x9001 | iso | ISO9660 CD/DVD image file

gheorghitamutu avatar Mar 28 '22 09:03 gheorghitamutu

"CD001", // ECMA_119
"NSR03", // ECMA_167
"NSR02", // ECMA_167_PREVIOUS
"BEA01", // ECMA_167_EXTENDED
"BOOT2", // ECMA_167_BOOT
"TEA01", // ECMO_167_TERMINATOR
"CDW02"  // ECMA_168

gheorghitamutu avatar Mar 30 '22 13:03 gheorghitamutu

From https://wiki.osdev.org/ISO_9660#Overview_and_caveats

There are two enhancements for ISO 9660 which make it more suitable for the worlds of Unix and of MS-Windows. Both can be combined in the same filesystem. So the reader often has the choice between three file name spaces: Plain ISO, Rock Ridge, Joliet.

ISO and Rock Ridge will show the same tree of files but with different names. Joliet can show a completely different tree than ISO.

Rock Ridge allows for file names of up to 255 characters of 8 bit. Only the 0-byte and the slash ("/") may not be used. Further it adds the file attributes which are specified by POSIX (owner, group, permissions,...) and it allows for symbolic links.

Rock Ridge is an application of SUSP. It may be accompanied by other SUSP applications like zisofs (compression of data files, Linux specific), Apple ISO 9660 Extensions, Amiga AS entries, or Arbitrary Attribute Interchange Protocol (AAIP: Extended Attributes and ACLs). A reader of SUSP entries shall simply ignore all entry types which it does not expect.

Joliet was defined by Microsoft Inc. to allow for filenames with up to 64 UCS-2 characters (16 bit). It is implemented as separate tree of Directory Records which begins by a root record in a Supplementary Volume Descriptor. That descriptor is similar to a Primary Volume Descriptor, but has a Type Code of 2.

gheorghitamutu avatar Mar 30 '22 13:03 gheorghitamutu

At the moment only Plain ISO is supported.

gheorghitamutu avatar Mar 30 '22 13:03 gheorghitamutu

Add UDF format - @Cosmin765.

Universal Disk Format (UDF) is an open, vendor-neutral file system for computer data storage for a broad range of media. In practice, it has been most widely used for DVDs and newer optical disc formats, supplanting ISO 9660.

https://datatracker.ietf.org/doc/draft-hallambaker-udf/02/ http://www.osta.org/specs/

gheorghitamutu avatar Dec 29 '23 09:12 gheorghitamutu