Subject: Re: msdosfs directory bug -- any helpers out there?
To: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 11/02/2005 21:15:18
On Wed, Nov 02, 2005 at 08:34:44AM -0800, Brian Buhrow wrote:
> 	Hello.  Following up on my own post, I've been looking into the
> msdosfs code, and I find I have a question which I think should be easy to
> answer for someone who knows.
> 	When the msdosfs code creates a new directory entry, I can't tell if
> it always appends to the directory, never reclaiming previously deleted
> entries, or if it tries to re-use deleted slots.  Does anyone know who
> would be willing to say?

I suspect you need to inspect a hexdump of the filesystem image by hand!
Given the extreme simplicity of the FAT filesystem this isn't that hard.
What I would look for is the contents of ddirectory blocks that contain
deleted files.

	David

-- 
David Laight: david@l8s.co.uk