CHAPTER 13

CHAPTER 13 CHAPTER 13

scp.s.scptuj.mb.edus.si
from scp.s.scptuj.mb.edus.si More from this publisher
18.08.2013 Views

716 Chapter 13 Optical Storage Although based on High Sierra, ISO 9660 does have some differences and refinements. But any drivers that can read ISO 9660 also can read discs formatted in High Sierra. ISO 9660 has three levels of interchange that dictate the features that can be used to ensure compatibility with different systems. ISO 9660 Level 1 is the lowest common denominator of all CD file systems and is capable of being read by almost every computer platform, including Unix and Macintosh. The downside of this file system is that it is very limited with respect to filenames and directories. Level 1 interchange restrictions include ■ Only uppercase characters A–Z, numbers 0–9, and the underscore (_) are allowed in filenames. ■ 8.3 characters maximum for the name.extension (based on DOS limits). ■ Directory names are eight characters maximum (no extension allowed). ■ Directories are limited to eight levels deep. ■ Files must be contiguous. Level 2 interchange rules have the same limitations as Level 1, except that the filename and extension can be up to 30 characters long (both added together, not including the . separator). Finally, Level 3 interchange rules are the same as Level 2 except that files don’t have to be contiguous. Note that Windows 95 and later versions enable you to use file and folder names up to 255 characters long, which can include spaces as well lowercase and many other characters not allowed in ISO 9660. To maintain backward compatiblity with DOS, Win95 and later associate a short 8.3 format filename as an alias for each file that has a longer name. These alias short names are created automatically by Windows and can be viewed in the Properties for each file or by using the DIR command at a commmand prompt. To create these alias names, Windows truncates the name to six (or fewer) characters followed by a tilde (~) and a number starting with 1 and truncates the extension to three characters. Other numbers are used in the first part if other files that would have the same alias when truncated already exist. For example, the filename This is a.test gets THISIS~1.TES as an alias. This filename alias creation is independent of your CD drive, but it is important to know that if you create or write to a CD using the ISO 9660 format using Level 1 restrictions, the alias short names are used when recording files to the disc, meaning any long filenames will be lost in the process. In fact, even the alias short name will be modified because ISO 9660 Level 1 restrictions don’t allow a tilde— that character is converted to an underscore in the names written to the CD. The ISO 9660 data starts at 2 seconds and 16 sectors into the disc, which is also known as logical sector 16 of track one. For a multisession disc, the ISO 9660 data is present in the first data track of each session containing CD-ROM tracks. This data identifies the location of the volume area—where the actual data is stored. The system area also lists the directories in this volume as the volume table of contents (VTOC), with pointers or addresses to various named areas, as illustrated in Figure 13.6. A significant difference between the CD directory structure and that of a normal hard disk is that the CD’s system area also contains direct addresses of the files within the subdirectories, allowing the CD to seek specific sector locations on the spiral data track. Because the CD data is all on one long spiral track, when speaking of tracks in the context of a CD, we’re actually talking about sectors or segments of data along that spiral. To put the ISO 9660 format in perspective, the disc layout is roughly analogous to that of a floppy disk. A floppy disk has a system track that not only identifies itself as a floppy disk and reveals its density and operating system, but also tells the computer how it’s organized—into directories, which are made up of files.

Figure 13.6 A diagram of basic ISO 9660 file organizational format. CD-ROM File Systems Chapter 13 717 Joliet Joliet is an extension of the ISO 9660 standard developed by Microsoft for use with Windows 95 and later. Joliet enables CDs to be recorded using filenames up to 64 characters long, including spaces and other characters from the Unicode international character set. Joliet also preserves an 8.3 alias for those programs that can’t use the longer filenames. In general, Joliet features the followig specifications: ■ File or directory names can be up to 64 Unicode characters (128 bytes) in length. ■ Directory names can have extensions. ■ Directories can be deeper than eight levels. ■ Multisession recording is inherently supported. Due to backward-compatibility provisions, systems that don’t support the Joliet extensions (such as older DOS systems) should still be capable of reading the disc. However, it will be interpreted as an ISO 9660 format using the short names instead. Note Synchonization, Identification System Area Data Volume Volume Table of Contents Data Data Data A bit of trivia: “Chicago” was the code name used by Microsoft for Windows 95. Joliet is the town outside of Chicago where Jake was locked up in the movie The Blues Brothers. Universal Disk Format UDF is a relatively new file system created by the Optical Storage Technology Association (OSTA) as an industry-standard format for use on optical media such as CD-ROM and DVD. UDF has several advantages over the ISO 9660 file system used by standard CD-ROMs but is most noted because it is designed to work with packet writing, a technique for writing small amounts of data to a CD-R/RW disc, treating it much like a standard magnetic drive. The UDF file system allows long filenames up to 255 characters per name. There have been several versions of UDF, with most packet-writing software using UDF 1.5 or later. Packet-writing software such as DirectCD from Roxio writes in the UDF file system. Standard CD-ROM drives, drivers, or operating systems such as DOS can’t read UDF formatted discs. Recordable drives can read them, but regular CD-ROM drives must conform to the MultiRead specification (see the section “MultiRead Specifications,” later in this chapter) to be capable of reading UDF discs.

716 Chapter <strong>13</strong> Optical Storage<br />

Although based on High Sierra, ISO 9660 does have some differences and refinements. But any drivers<br />

that can read ISO 9660 also can read discs formatted in High Sierra. ISO 9660 has three levels of interchange<br />

that dictate the features that can be used to ensure compatibility with different systems.<br />

ISO 9660 Level 1 is the lowest common denominator of all CD file systems and is capable of being<br />

read by almost every computer platform, including Unix and Macintosh. The downside of this file<br />

system is that it is very limited with respect to filenames and directories. Level 1 interchange restrictions<br />

include<br />

■ Only uppercase characters A–Z, numbers 0–9, and the underscore (_) are allowed in filenames.<br />

■ 8.3 characters maximum for the name.extension (based on DOS limits).<br />

■ Directory names are eight characters maximum (no extension allowed).<br />

■ Directories are limited to eight levels deep.<br />

■ Files must be contiguous.<br />

Level 2 interchange rules have the same limitations as Level 1, except that the filename and extension<br />

can be up to 30 characters long (both added together, not including the . separator). Finally, Level 3<br />

interchange rules are the same as Level 2 except that files don’t have to be contiguous.<br />

Note that Windows 95 and later versions enable you to use file and folder names up to 255 characters<br />

long, which can include spaces as well lowercase and many other characters not allowed in ISO 9660.<br />

To maintain backward compatiblity with DOS, Win95 and later associate a short 8.3 format filename<br />

as an alias for each file that has a longer name. These alias short names are created automatically by<br />

Windows and can be viewed in the Properties for each file or by using the DIR command at a commmand<br />

prompt. To create these alias names, Windows truncates the name to six (or fewer) characters<br />

followed by a tilde (~) and a number starting with 1 and truncates the extension to three characters.<br />

Other numbers are used in the first part if other files that would have the same alias when truncated<br />

already exist. For example, the filename This is a.test gets THISIS~1.TES as an alias.<br />

This filename alias creation is independent of your CD drive, but it is important to know that if you<br />

create or write to a CD using the ISO 9660 format using Level 1 restrictions, the alias short names are<br />

used when recording files to the disc, meaning any long filenames will be lost in the process. In fact,<br />

even the alias short name will be modified because ISO 9660 Level 1 restrictions don’t allow a tilde—<br />

that character is converted to an underscore in the names written to the CD.<br />

The ISO 9660 data starts at 2 seconds and 16 sectors into the disc, which is also known as logical sector<br />

16 of track one. For a multisession disc, the ISO 9660 data is present in the first data track of each session<br />

containing CD-ROM tracks. This data identifies the location of the volume area—where the<br />

actual data is stored. The system area also lists the directories in this volume as the volume table of<br />

contents (VTOC), with pointers or addresses to various named areas, as illustrated in Figure <strong>13</strong>.6. A<br />

significant difference between the CD directory structure and that of a normal hard disk is that the<br />

CD’s system area also contains direct addresses of the files within the subdirectories, allowing the CD<br />

to seek specific sector locations on the spiral data track. Because the CD data is all on one long spiral<br />

track, when speaking of tracks in the context of a CD, we’re actually talking about sectors or segments<br />

of data along that spiral.<br />

To put the ISO 9660 format in perspective, the disc layout is roughly analogous to that of a floppy<br />

disk. A floppy disk has a system track that not only identifies itself as a floppy disk and reveals its<br />

density and operating system, but also tells the computer how it’s organized—into directories, which<br />

are made up of files.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!