Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SGI (Silicon Graphics) disklabel format

The SGI disklabel format is a partitioning schema mainly used by the SGI Irix operating system.

Overview

A SGI disklabel consists of one or more partition entries.

Certain paritions have a predefined meaning, such as:

  • entry 9 the volume header (partition type 0);
  • entry 11 the entire volume (partition type 6).

Characteristics

CharacteristicsDescription
Byte orderbig-endian
Date and time valuesN/A
Character stringsASCII

SGI disklabel

The SGI disklabel (or volume header) is stored at offset 0.

The SGI disklabel is 512 bytes in size and consists of:

OffsetSizeValueDescription
04"\x0b\xe5\xa9\x41"Signature
42Root partition number
62Swap partition number
816ARCS boot file name, with consists of an ASCII string
2448Device parameters
7215 x 16 = 240Array of volume descriptors
31216 x 12 = 192Array of partition entries
5044Checksum
5084Unknown (padding)

Device parameters

The device parameters are 48 bytes in size and consist of:

OffsetSizeValueDescription
01Skew
11Gap 1 size
21Gap 2 size
31Number of spare cylinders (per volume)
42Number of (physical) cylinders
62Heads per volume
82Tracks per cylinder
101Unknown (cmd_tag_queue_depth)
113Unknown (unused)
142Sectors per track
162Bytes per sector
182Unknown (ilfact)
204Unknown (flags)
244Unknown (datarate)
284Unknown (retries_on_error)
324Unknown (ms_per_word)
362Unknown (xylogics_gap1)
382Unknown (xylogics_syncdelay)
402Unknown (xylogics_readdelay)
422Unknown (xylogics_gap2)
442Unknown (xylogics_readgate)
462Unknown (xylogics_writecont)

Volume descriptor

The volume descriptors contain a flat file system, where each individual descriptor describes a execute boot file. These execute boot files are stored within the volume header partition.

The volume descriptor is 16 bytes in size and consists of:

OffsetSizeValueDescription
08File name, with consists of an ASCII string
84Start sector number, relative to the start of the volume header partition
124Size, in number of bytes

Partition entry

The partition entry is 12 bytes in size and consists of:

OffsetSizeValueDescription
04Number of sectors, relative to the start of the SGI disklabel
44Start sector number
84Partition type

Partition types

ValueIdentifierDescription
0SGI_VOLHDRVolume header
1SGI_TRKREPLTrack Replacements
2SGI_SECREPLSector Replacements
3SGI_SWAPIRIX Swap
4SGI_BSD or SGI_RAWSGI BSD or raw
5SGI_SYSV or SGI_BOARDSGI SystemV, board or overlay
6SGI_VOLUMEEntire Volume
7SGI_EFSIRIX EFS
8SGI_LVOLSGI Logical Volume
9SGI_RVOLSGI raw logical volume
10SGI_XFSXFS
11SGI_XFSLOGXFS journal
12SGI_XLVSGI XLV Volume Manager
13SGI_XVMSGI XVM Volume Manager