Rock Ridge - Design and Contents

Design and Contents

The RRIP extensions are, briefly:

  • Longer file names (up to 255 bytes) and fewer restrictions on allowed characters (support for lowercase, etc.)
  • UNIX-style file modes, user ids and group ids, and file timestamps
  • Support for Symbolic links and device files
  • Deeper directory hierarchy (more than 8 levels)
  • Efficient storage of sparse files

The RRIP extensions are built upon a related standard System Use Sharing Protocol (SUSP, IEEE P1281). SUSP provides a generic way of including additional properties for any directory entry reachable from the primary volume descriptor (PVD).

In an ISO 9660 volume, every directory entry has an optional system use area whose contents are undefined and left to be interpreted by the system. SUSP defines a method to subdivide that area into multiple system use fields, each identified by a two-character signature tag. The idea behind SUSP was that it would enable any number of independent extensions to ISO 9660 (not just RRIP) to be created and included on a volume without conflicting. It also allows for the inclusion of property data that would otherwise be too large to fit within the limits of the system use area.

SUSP defines several common tags and system use fields:

  • CE - Continuation area
  • PD - Padding field
  • SP - System use sharing protocol indicator
  • ST - System use sharing protocol terminator
  • ER - Extensions reference
  • ES - Extension selector

RRIP defines additional SUSP tags for support of POSIX semantics, along with the format and meaning of the corresponding system use fields:

  • RR - Rock Ridge extensions in-use indicator (note: dropped from standard after version 1.09)
  • PX - POSIX file attributes
  • PN - POSIX device numbers
  • SL - symbolic link
  • NM - alternate name
  • CL - child link
  • PL - parent link
  • RE - relocated directory
  • TF - time stamp
  • SF - sparse file data

Other known SUSP fields include:

  • AA - Apple extension, preferred
  • AB - Apple extension, old
  • AS - Amiga file properties (see below)

Note that the Apple ISO 9660 Extensions do not technically follow the SUSP standard; however the basic structure of the AA and AB fields defined by Apple are forward compatible with SUSP; so that, with care, a volume can use both Apple extensions as well as RRIP extensions.

Read more about this topic:  Rock Ridge

Famous quotes containing the words design and/or contents:

    With wonderful art he grinds into paint for his picture all his moods and experiences, so that all his forces may be brought to the encounter. Apparently writing without a particular design or responsibility, setting down his soliloquies from time to time, taking advantage of all his humors, when at length the hour comes to declare himself, he puts down in plain English, without quotation marks, what he, Thomas Carlyle, is ready to defend in the face of the world.
    Henry David Thoreau (1817–1862)

    Conversation ... is like the table of contents of a dull book.... All the greatest subjects of human thought are proudly displayed in it. Listen to it for three minutes, and you ask yourself which is more striking, the emphasis of the speaker or his shocking ignorance.
    Stendhal [Marie Henri Beyle] (1783–1842)