CAN CSA Z243.181-89 (2004): Volume and File Structure for 130 mm Flexible Disk Cartridges – Technical Overview

Understanding the logical format for information interchange on 5.25-inch floppy disks as specified by this Canadian standard

Scope

The CAN CSA Z243.181-89 (2004) standard — reaffirmed in 2004 — defines the logical volume and file structure for information interchange on 130 mm (5.25 inch) flexible disk cartridges. It is the Canadian adoption of the international standard ISO 9293:1987 Information Processing — Volume and File Structure for Information Interchange on 130 mm (5.25 in) Flexible Disk Cartridges Using Non-Rewritable and Rewritable Optical Recording. The standard specifies the logical format that enables data interchange between different computing systems, ensuring that disk volumes created under one system can be read by another compliant system.

This standard is applicable to all 130 mm flexible disk cartridges that use magnetic or optical recording techniques, provided that the logical layout follows the described volume structure, file allocation table (FAT) scheme, and directory hierarchy. It is widely recognized as the foundation for the FAT12 file system used on MS-DOS and early PC-compatible floppy disks.

Note: While originally published in 1989, CAN CSA Z243.181-89 was reaffirmed by the Standards Council of Canada in 2004, confirming its continued validity as the reference for 5.25-inch flexible disk interchange formats. Many modern embedded systems and legacy data retrieval applications still rely on this logical structure.

Technical Requirements

Volume Structure

The standard defines a fixed volume layout consisting of a boot sector, one or two copies of the File Allocation Table (FAT), a root directory, and a data region. The volume is organized in fixed-size logical blocks (sectors) of 512 bytes. The number of sectors per track, tracks per side, and sides used depend on the specific disk type, but the logical format is consistent across all supported capacities.

The boot sector (logical sector 0) contains critical parameters: the volume label, the number of FAT copies, the maximum number of root directory entries, the number of sectors per FAT, and the total number of logical sectors. These parameters are stored in a BIOS Parameter Block (BPB) structure.

File Allocation Table (FAT)

The File Allocation Table is a linked list of cluster entries. Each cluster consists of one or more consecutive logical sectors (typically 1, 2, or 4 sectors per cluster). The FAT entry values indicate the next cluster in a file chain (0x0002–0xFEF), the end-of-file marker (0xFFF8–0xFFFF), or bad cluster (0xFFF7). The standard requires two copies of the FAT for data integrity:

  • FAT #1: Primary allocation table
  • FAT #2: Redundant copy (identical to FAT #1)

The FAT uses 12-bit entries (FAT12) for volumes with fewer than 4087 clusters, which covers the standard 5.25-inch disk capacities (160 KB, 180 KB, 320 KB, 360 KB, and 1.2 MB).

Directory Structure

The root directory is fixed in size and immediately follows the second FAT copy. Each directory entry occupies 32 bytes and contains:

Field Offset (bytes) Size (bytes) Description
File Name 0 8 Left-justified, space-padded; first byte can indicate deleted (0xE5) or entry end (0x00)
Extension 8 3 Left-justified, space-padded
Attributes 11 1 Read-only, hidden, system, volume label, subdirectory, archive bits
Reserved 12 10 Reserved (zeroed)
Time & Date 22 4 Creation/modification timestamp and date
First Cluster 26 2 Starting cluster number (cluster 2 is the first data cluster)
File Size 28 4 File length in bytes (0 for subdirectories)

Supported Disk Capacities

The following table summarizes the standard logical formats for common 130 mm flexible disk cartridges:

Disk Type Sectors/Track Tracks/Side Sides Total Sectors FAT Size (sectors) Root Entries Clusters
Single-sided (8-sector) 8 40 1 320 1 64 254
Single-sided (9-sector) 9 40 1 360 2 64 179
Double-sided (8-sector) 8 40 2 640 2 112 508
Double-sided (9-sector) 9 40 2 720 2 112 354
High-density (15-sector) 15 80 2 2400 7 224 2371
Important: The standard assumes a physical sector size of 512 bytes. If the underlying disk uses a different physical sector size, the logical volume must still read and write 512-byte sectors through a physical-to-logical mapping layer. Non-compliance may prevent interchange.

Implementation Highlights

Logical-to-Physical Mapping

The standard does not mandate the physical order of sectors on the disk (e.g., interleave factor). However, the logical sectors must be numbered sequentially from 0. The mapping from logical sector number to physical track/sector number is implementation-dependent but must be reversible to ensure that any compliant reader can decode the volume.

File Allocation Table Redundancy

Compliant systems must maintain two copies of the FAT. On write, both copies are updated. On read, a system may check FAT #2 if FAT #1 is inconsistent or corrupted. This redundancy significantly improves data integrity for interchange environments where disks may be used across multiple platforms.

Subdirectory Support

While the original standard (1989) primarily defined a single-level root directory, the 2004 reaffirmation acknowledges that many systems extend the directory structure to include subdirectories. Subdirectories are implemented as ordinary directory files containing 32-byte entries for files and other subdirectories. The cluster chain of a subdirectory file is managed through the FAT, allowing arbitrary depth.

Labeling and Volume Identification

Each volume must have a volume label stored as a special directory entry with the volume label attribute set (bit 3 of the attribute byte). Volume labels can be up to 11 characters, left-justified, space-padded. Alternatively, a volume label may also be stored in the BPB of the boot sector, but the directory entry takes precedence when both are present.

Compliance Notes

Validation Procedures

To claim compliance with CAN CSA Z243.181-89 (2004), a system must:

  • Correctly interpret the BPB in sector 0 to determine volume parameters.
  • Traverse the FAT to access file clusters.
  • Read and write 32-byte directory entries as defined.
  • Maintain up to two FAT copies on write operations.
  • Support at least one of the capacity formats listed in the standard’s normative annex.
Compliance Tip: For modern systems that need to read legacy 5.25-inch disks, it is recommended to verify that the BPB media descriptor byte (0xF0 for 1.2 MB, 0xF9 for 720 KB, etc.) matches the actual physical capacity. Implementations should fall back to alternative capacities if the BPB does not match, but must not modify the disk beyond the established format.

Interoperability Considerations

The standard was designed to allow data exchange between systems built by different manufacturers. Common pitfalls that break interoperability include:

  • Using a FAT size that does not match the total sector count (e.g., placing clusters in areas that do not exist).
  • Writing more root directory entries than the maximum specified in the BPB (causing overwrites into the data region).
  • Failing to update both FAT copies consistently.
Caution: Non-compliant implementations that use different cluster sizes (e.g., 8 KB) on high-density floppies may produce volumes that cannot be read by older systems expecting 1 or 2 sectors per cluster. Always abide by the cluster sizes defined in the standard’s format tables.

Relation to Subsequent Standards

CAN CSA Z243.181-89 (2004) was a foundational standard for the FAT file system. It was superseded in later years by more comprehensive standards such as ISO/IEC 9293:1994 (which extended support for larger disks and long file names). However, the 1989 version remains the definitive reference for 130 mm flexible disk cartridges used in legacy industrial equipment, medical devices, and control systems. Reaffirmation in 2004 ensured that manufacturers could still cite a current standard for interchange with older equipment.

Frequently Asked Questions

Q: Is CAN CSA Z243.181-89 (2004) identical to ISO 9293?
A: Yes, the Canadian standard is an identical adoption of ISO 9293:1987. No technical modifications were introduced. The reaffirmation in 2004 did not change the technical content but confirmed its status as a national standard of Canada.
Q: Can this standard be used for 3.5-inch floppy disks?
A: The standard specifically addresses 130 mm (5.25-inch) flexible disk cartridges. While the FAT12 volume structure is similar to that used on 3.5-inch disks (which are 90 mm), the physical and logical parameters (sector count, track density, BPB values) differ. For 3.5-inch disks, refer to ISO/IEC 9293:1994 or the related PC standard formats that incorporated later revisions.
Q: What is the maximum file size supported by this standard?
A: Because the FAT uses 12-bit entries and the cluster count is limited to a few thousand, the maximum file size is constrained by the total capacity of the disk. For example, on a 1.2 MB high-density disk with 1 KB clusters, the largest file is approximately 1.2 MB. The standard does not support file sizes beyond the volume capacity, and the file size field (32-bit) is not a practical limitation at these capacities.
Q: Is the standard still cited in modern hardware certifications?
A: While most modern storage certifications refer to more recent file system standards (e.g., FAT32, exFAT), CAN CSA Z243.181-89 (2004) is still referenced in some legacy system requirements, particularly in the fields of aviation, military, and industrial automation where 5.25-inch disk drives are part of certified systems. It remains part of the CSA information technology series.

— Published in accordance with Standards Council of Canada rules. Standard reaffirmed in 2004. This article provides general technical guidance; refer to the official document for complete normative requirements. © 2026

📥 Standard Documents Download

🔒
Please wait 10 seconds, the download links will appear after the ad loads

Leave a Reply

Your email address will not be published. Required fields are marked *