Re: file types

Paul Prescod (papresco@calum.csclub.uwaterloo.ca)
Fri, 25 Oct 1996 05:54:33 -0400


Message-Id: <1.5.4.32.19961025095433.008ab208@csclub.uwaterloo.ca>
Date: Fri, 25 Oct 1996 05:54:33 -0400
To: "David Perrell" <davidp@earthlink.net>,
From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Subject: Re: file types
Cc: <www-html@w3.org>

At 11:01 PM 10/24/96 -0700, David Perrell wrote:

>All fine and dandy, except that to avoid the overhead of opening and
>reading a file to find out the type, the type must be part of the file
>system, not embedded in the file data. I know of no possible mechanism
>for this in the FAT system besides the extension and a single attribute
>byte. I believe the same is true of NTFS, though here you've got long
>filenames and support for UNICODE characters. 

I do not believe so. I could be wrong, but I think that NTFS has an
"extended attributes" feature like OS/2's HPFS. These can hold arbitrary (or
up to 64k) of meta-data.

>Can you imaging having to
>open tens of thousands of files to construct a readable
>folder/directory listing?

The smart thing to do would be to cache those file types somewhere.

 Paul Prescod