lkml.org 
[lkml]   [2000]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: NTFS-like streams?
Date
In article >Pine.LNX.4.10.10008111513300.1913-100000@aviro.devel.redhat.com>,
Alexander Viro <aviro@redhat.com> wrote:
>On Fri, 11 Aug 2000, Jeff V. Merkey wrote:
>> i.e. The NTFS method is filename:attribute_name. This means folks just
>> append :attr_name to the filename to tell the underlying FS to open an
>> alernate attribute file.
>
> If you want to see some seriously scary code - look at the HFS
>handling of that stuff. And no, I would not bet a dime that it's done
>correctly. The main problem is that rename(), unlink(), etc. are too
>fine-grained for such beasts.

Can't you define such files as directories ? "ls" would show
them as plain files, open() would open ("file/data"), you could
chdir() into them and stat() would return S_ISMULTI if the file has
more than one fork so that tar and cp work correctly.

Mike.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans