BS-7061-1989 ISO-9660-1988.pdf
BRITISH STANDARD BS 7061:1989 ISO 9660:1988 Specification for Volume and file structure of compact read only optical disks (CD-ROM) for information interchange ISO title: Information processing Volume and file structure of CD-ROM for information interchange UDC 681.11.031.24:006.015.3: = 092:(083.71) (024):.001.2 Licensed Copy: London South Bank University, London South Bank University, Fri Dec 08 12:44:12 GMT+00:00 2006, Uncontrolled Copy, (c) BSI BS 7061:1989 This British Standard, having been prepared under the direction of the Information Systems Technology Standards Committee, was published under the authority of the Board of BSI and comes into effect on 31 March 1989 © BSI 04-1999 The following BSI references relate to the work on this standard: Committee reference IST/11 Draft for comment 87/63007 DC ISBN 0 580 17024 1 Committees responsible for this British Standard The preparation of this British Standard was entrusted by the Information Systems Technology Standards Committee (IST/-) to Technical Committee IST/11, upon which the following bodies were represented: Association for Payment Clearing Services British Computer Society Business Equipment and Information Technology Association Local Authority Organizations National Centre for Information Media and Technology (CIMTECH) National Computing Centre Ltd. User Standards Forum for Information Technology (Institute of Data Processing Management) Amendments issued since publication Amd. No.Date of issueComments Licensed Copy: London South Bank University, London South Bank University, Fri Dec 08 12:44:12 GMT+00:00 2006, Uncontrolled Copy, (c) BSI BS 7061:1989 © BSI 04-1999i Contents Page Committees responsibleInside front cover National forewordii Section 1. General 1Scope and field of application1 2Conformance1 3References1 4Definitions1 5Notation2 Section 2. Requirements for the medium 6Volume structure3 7Recording of descriptor fields9 8Volume Descriptors11 9File and Directory Descriptors20 10Levels of interchange28 Section 3: Requirements for systems 11Requirement for the description of systems29 12Requirements for an originating system29 13Requirements for a receiving system30 Annex A (informative) ISO 646: International Reference Version (IRV)32 Table 1 Volume Descriptor11 Table 2 Boot Record12 Table 3 Volume Descriptor Set Terminator12 Table 4 Primary Volume Descriptor13 Table 5 Date and Time Format16 Table 6 Supplementary Volume Descriptor17 Table 7 Volume Partition Descriptor19 Table 8 Format of a Directory Record21 Table 9 Recording Date and Time21 Table 10 File flags22 Table 11 Path Table Record25 Table 12 Extended Attribute Record25 Table 13 Permissions26 Table 14 Untitled32 Table 15 Untitled33 Publications referred toInside back cover Licensed Copy: London South Bank University, London South Bank University, Fri Dec 08 12:44:12 GMT+00:00 2006, Uncontrolled Copy, (c) BSI BS 7061:1989 ii © BSI 04-1999 National foreword This British Standard, prepared under the direction of the Information Systems Technology Standards Committee, is identical with ISO 9660:1988 “Information processing Volume and file structure of CD-ROM for information interchange”, published by the International Organization for Standardization (ISO). Terminology and conventions. The text of the international standard has been approved as suitable for publication as a British Standard without deviation. Some terminology and certain conventions are not identical with those used in British Standards; attention is drawn especially to the following. Wherever the words “International Standard” appear, referring to this standard, they should be read as “British Standard”. The Technical Committee has reviewed the provisions of ISO 1539 and ISO 2375, to which reference is made in the text, and has decided that they are acceptable for use in conjunction with this standard. A British Standard does not purport to include all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Compliance with a British Standard does not of itself confer immunity from legal obligations. Cross-references International standardCorresponding British Standard ISO 646:1983BS 4730:1985 Specification for UK 7-bit coded character set (Identical, exercising national options) ISO 2022:1986BS 6856:1987 Specification for code extension techniques for United Kingdom 7-bit and 8-bit coded character sets (Identical) ISO 4873:1986BS 6006:1987 Specification for structure and rules for implementation of United Kingdom 8-bit coded character set (Identical) Summary of pages This document comprises a front cover, an inside front cover, pages i and ii, pages 1 to 34, an inside back cover and a back cover. This standard has been updated (see copyright date) and may have had amendments incorporated. This will be indicated in the amendment table on the inside front cover. Licensed Copy: London South Bank University, London South Bank University, Fri Dec 08 12:44:12 GMT+00:00 2006, Uncontrolled Copy, (c) BSI BS 7061:1989 © BSI 04-19991 Section 1. General 1 Scope and field of application This International Standard specifies the volume and file structure of compact read only optical disks (CD-ROM) for the interchange of information between users of information processing systems. This International Standard specifies the attributes of the volume and the descriptors recorded on it; the relationship among volumes of a volume set; the placement of files; the attributes of the files; record structures intended for use in the input or output data streams of an application program when such data streams are required to be organized as sets of records; three nested levels of medium interchange; two nested levels of implementation; requirements for the processes which are provided within information processing systems, to enable information to be interchanged between different systems, utilizing recorded CD-ROM as the medium of interchange; for this purpose it specifies the functions to be provided within systems which are intended to originate or receive CD-ROM which conform to this International Standard. 2 Conformance 2.1 Conformance of a CD-ROM A CD-ROM shall be in conformance with this International Standard when all information recorded on it conforms to the requirements of section 2 of this International Standard. A statement of conformance shall identify the lowest level of interchange to which the contents of the CD-ROM conform. A prerequisite to such conformance is conformance of the CD-ROM to a standard for recording (see 4.15). 2.2 Conformance of an information processing system An information processing system shall be in conformance with this International Standard if it meets the requirements specified in sections 2 and 3 of this International Standard either for an originating system, or for a receiving system, or for both types of system. A statement of conformance shall identify which level of these requirements can be met by the system. 3 References ISO 646, Information processing ISO 7-bit coded character set for information interchange. ISO 1539, Programming languages FORTRAN. ISO 2022, Information processing ISO 7-bit and 8-bit coded character sets Code extension techniques. ISO 2375, Data processing Procedure for registration of escape sequences. ISO 4873, Information processing ISO 8-bit code for information interchange Structure and rules for implementation. International Register of Coded Character Sets to Be Used With Escape Sequences. Standards for recording: This International Standard assumes the existence of a standard for recording (see 4.15). 4 Definitions For the purposes of this International Standard, the following definitions apply: 4.1 application program a program that processes the contents of a file, and may also process selected attribute data relating to the file or to the volume(s) on which the file is recorded NOTEAn application program is a specific class of user, as defined in this International Standard. 4.2 byte a string of eight binary digits operated upon as a unit 4.3 data field of a sector a fixed-length field containing the data of a sector 4.4 data preparer a person or other entity which controls the preparation of the data to be recorded on a volume group NOTEA data preparer is a specific class of user as defined in this International Standard. 4.5 descriptor a structure containing descriptive information about a volume or a file 4.6 extent a set of logical blocks, the logical block numbers of which form a continuous ascending sequence Licensed Copy: London South Bank University, London South Bank University, Fri Dec 08 12:44:12 GMT+00:00 2006, Uncontrolled Copy, (c) BSI BS 7061:1989 2 © BSI 04-1999 4.7 file a named collection of information 4.8 file section that part of a file that is recorded in any one extent 4.9 implementation a set of processes which enable an information processing system to behave as an originating system, or as a receiving system, or as both types of system 4.10 logical block a group of 2n + 9 bytes treated as a logical unit, where n equals 0 or a positive integer 4.11 originating system an information processing system which can create a set of files on a volume set for the purpose of data interchange with another system 4.12 receiving system an information processing system which can read a set of files from a volume set which has been created by another system for the purpose of data interchange 4.13 record a sequence of bytes treated as a unit of information 4.14 sector the smallest addressable part of the recorded area on a CD-ROM that can be accessed independently of other addressable parts of the recorded area 4.15 standard for recording a standard that specifies the recording method and the addressing method for the information recorded on a CD-ROM the specifications of the standard for recording that are relevant for this International Standard are a unique Physical Address for each recorded sector; the location of the Data Field within each sector; the length of the Data Field within each sector. NOTEThe standard for recording used in conjunction with this International Standard is subject to agreement between the originator and the recipient of the volumes. 4.16 user a person or other entity (for example, an application program) that causes the invocation of the services provided by an implementation 4.17 volume a dismountable CD-ROM 4.18 volume set a collection of one or more volumes, on which a set of files is recorded 5 Notation The following notation is used in this International Standard. 5.1 Decimal and hexadecimal notations Numbers in decimal notation are represented by decimal digits, namely 0 to 9. Numbers in hexadecimal notation are represented by hexadecimal digits, namely 0 to 9 and A to F, shown in parentheses. 5.2 Other notation BP: Byte position within a descriptor, starting with 1 RBP: Byte position within a descriptor field, starting with 1 ZERO: A single bit with the value 0 ONE: A single bit with the value 1 Digit(s) : Any digit from DIGIT ZERO to DIGIT NINE Licensed Copy: London South Bank University, London South Bank University, Fri Dec 08 12:44:12 GMT+00:00 2006, Uncontrolled Copy, (c) BSI BS 7061:1989 © BSI 04-19993 Section 2. Requirements for the medium 6 Volume structure 6.1 Arrangement of data on a CD-ROM 6.1.1 Physical Addresses Each sector shall be identified by a unique Physical Address as specified in the relevant standard for recording. 6.1.2 Logical Sector The sectors of a volume shall be organized into Logical Sectors. Each Logical Sector shall consist of a number of bytes equal to 2 048 or 2n, whichever is larger, where n is the largest integer such that 2n is less than, or equal to, the number of bytes in the Data Field of any sector recorded on the volume. The number of bytes in a Logical Sector shall be referred to as the Logical Sector size. Each Logical Sector shall begin in a different sector from any other Logical Sector, and shall begin with the first byte of the Data Field of the sector in which it begins. If the number of bytes of the Data Field of each sector recorded on the volume is less than 2 048, a Logical Sector shall comprise more than one sector, and the set of the Physical Addresses of its constituent sectors shall form a consecutive ascending sequence. The data of a Logical Sector shall be recorded in the Data Fields of its constituent sectors. Each Logical Sector shall be identified by a unique Logical Sector Number. Logical Sector Numbers shall be integers assigned in an ascending sequence, in order of ascending Physical Addresses of the constituent sectors, starting with 0 for the Logical Sector containing the sector having the lowest Physical Address which may contain recorded information. The numbering shall continue through successive Logical Sectors, each of which begins with the sector with the next higher Physical Address than that of the last sector constituting the previous Logical Sector. 6.1.3 Volume Space The information on a volume shall be recorded in the set of all Logical Sectors on the volume. This set shall be referred to as the Volume Space of the volume. The bytes in the Volume Space shall be numbered consecutively. The numbering shall start with 1, which shall be assigned to the first byte of the first Logical Sector of the Volume Space. The numbering shall continue through successive bytes of the first Logical Sector, and then through successive bytes of each successive Logical Sector, of the Volume Space. 6.2 Arrangement of the Volume Space 6.2.1 System Area and Data Area The Volume Space shall be divided into a System Area and a Data Area. The System Area shall occupy the Logical Sectors with Logical Sector Numbers 0 to 15. The System Area shall be reserved for system use. Its content is not specified by this International Standard. The Data Area shall occupy the remaining Logical Sectors of the Volume Space. 6.2.2 Logical Block The Volume Space shall be organized into Logical Blocks. Each Logical Block shall consist of 2 n + 9 bytes, where n equals 0 or a positive integer. The number of bytes in a Logical Block shall be referred to as the Logical Block size which shall not be greater than the Logical Sector size. Each Logical Block shall be identified by a unique Logical Block Number. Logical Block Numbers shall be integers assigned in ascending order starting with 0. Logical Block Number 0 shall be assigned to the Logical Block which begins with the first byte of the Volume Space. Each successive Logical Block Number shall be assigned to the Logical Block which begins with the byte in the Volume Space immediately following the last byte of the preceding Logical Block. 6.3 Arrangement of the Data Area File Sections shall be recorded in the Data Area. The following types of descriptors shall be recorded in the Data Area to describe th