🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3543

Re: Behaviour if Findfirst/Findnext

#3543
From: Andrue Cope [TeamB]
Date: Fri, 26 May 2006 07:57
19 lines
1558 bytes
 Bruce Salzman wrote:

> I don't know for sure, but I'd guess that these functions search the
> file allocation table from beginning to end.

Nope :)

The FAT only stores allocation information and it stores it for the
entire volume. Directory information is stored separately as a file in
it's own right (except for the root in FAT 12/16 volumes). Each
directory has its own file and /these/ are scanned from first to last.

NTFS is completely different and because it stores directories as
B-Trees objects come back sorted.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <4476b4cf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <5v4b725541pgl6mgme0m2sc5n0ni1bm94p@4ax.com> <4475d95a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,57df08767886389
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: Behaviour if Findfirst/Findnext
Newsgroups: borland.public.cppbuilder.nativeapi
References: <5v4b725541pgl6mgme0m2sc5n0ni1bm94p@4ax.com> <4475d95a$1@newsgroups.borland.com>
Date: Fri, 26 May 2006 08:57:05 +0100
User-Agent: XanaNews/1.18.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <4476b4cf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148630223 217.207.223.34 (26 May 2006 00:57:03 -0700)
Lines: 19
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail