Subject: Re: Clean bit bits
To: None <tech-kern@NetBSD.ORG>
From: Waldi Ravens <>
List: tech-kern
Date: 01/17/1996 00:08:08
Wolfgang Solfrank wrote:

> While I agree in principle that the only feasible place to store the
> timestamp/count data is the superblock, there is a problem with this, if we
> plan to generalize the concept of fsck to other filesystems.
> E.g., I've got a preliminary version of a fsck-like utility for msdosfs
> (written by Martin Husemann and myself). Since we cannot define any field in
> the msdosfs for our own purposes, we have to find a different solution for this
> filesystem, should we want to support clean bits there.

No problem. When newdosfs(8) sets the number of reserved sectors to 2 instead
of the usual 1, the second reserved sector can be used to store timestamps and
other usefull information (should of course be protected by a magic number
and checksum).