IT lexicon › Infra & Ops › Filetype (RISC OS)

Filetype (RISC OS)

Infra & Ops På svenska → Updated: 2026-11-09

A three-digit hex number in a file's metadata that says what it is — RISC OS's answer to file extensions, without the extensions.

Every file on a FileCore filesystem carries a 12-bit type, stored where the file would otherwise keep its load address. &FFF is text, &FFB BBC BASIC, &FF9 a sprite, &AFF a Draw file and &FEB an Obey script. The type's name and the double-click action live in system variables such as Alias$@RunType_FFF, which applications set themselves the first time the Filer sees their application directory.

Types were allocated centrally, first by Acorn and now by RISC OS Open, so two programs wouldn't fight over a number. With only 4,096 slots it eventually got crowded. When files land on foreign filesystems over NFS or Samba, the type gets encoded in the name instead — report,fff — so the system ended up with an extension after all.

← Back to the lexicon