Re: NTFS-like streams?

From: ferret@phonewave.net
Date: Fri Aug 11 2000 - 21:15:02 EST


Why is this beginning to remind me of EA's under OS/2?

If I recall correctly (And it's been one heck of a long time) you could
bind generic, unspecified metadata to a file, such as the image thumbnail,
and it would be stored in the EA area.

On Fri, 11 Aug 2000, James Sutherland wrote:

> On Fri, 11 Aug 2000, Jeff V. Merkey wrote:
>
> >
> > The way NTFS does this trick is to create special attributes and chain
> > them from the MFT for a given file entry. Linux has nothing like it at
> > present in it's standard file systems, and the linux NTFS driver is only
> > a bare skeleton of NTFS, it does not implemen all the NTFS
> > capabilities. Under the covers of NTFS, these attributes are actually
> > LCN (logical cluster number) file chains with some fancy headers and a
> > name.
>
> Data attributes, with a name; what we read as "the file" will be the
> anonymous attribute, IIRC?
>
> It shouldn't be too hard to add a simple check for which attribute is
> being requested, I presume - AIUI, the NTFS driver is passed the filename,
> then goes and looks it up in the MFT, so implementing this should just be
> a matter of splitting the "filename" into the MFT entry's name and the
> stream name, then accessing the appropriate attribute rather than always
> using the anonymous one?
>
>
> James.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:26 EST