Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

Make dosfstools aware of the status of a (v)FAT file system, stopping it from checking a known clean partition.

Rationale

As more and more users have access to USB sticks, external drives, digital cameras and larger drives that co-exist with other operating systems, dosfstools needs to participate in the existing file system integrity procedures, rather than just fix every (v)FAT partition it encounters.

Use cases

Scope

This specification purposefully only addresses changes made to dosfstools, not to the kernel.

Design

Wikepedia Article on FAT implementation:

Wikepedia references:

Microsoft Knowlegebase article describing the Boot Sector:

LKML emails commenting on the implementation:

Current version of the boot sector definition:

Alternative description of the Boot Sector:

Partition surprise manual containing comments about the dirty flag:

Implementation

Code

Data preservation and migration

The dirty flag does not currently get used. Some suggestions have been made to create a configuration file on the file system being checked, or in the appropriate location in the system tree. This would create more problems than it solves. There should be no additional configuration files at all. The existing system as used by other operating systems, for example Windows, should be used to maintain integrity.

Unresolved issues

BoF agenda and discussion


CategorySpec CategorySpec

SpecificationDosDirtyFlag (last edited 2008-08-06 16:25:51 by localhost)