Re: NTFS-like streams?

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Aug 11 2000 - 23:34:59 EST


In article <Pine.LNX.4.21.0008120028320.11791-100000@duckman.distro.conectiva>,
Rik van Riel <riel@conectiva.com.br> wrote:
>On Fri, 11 Aug 2000, Michael Rothwell wrote:
>
>> I'm not sure what your question is asking. You don't have to read
>> x.bmp:thumbnail if you do not want to. But if you want to view the
>> thumbnail, it's there. For instance, on the Mac, you can have a
>
>So when /bin/cp accesses the file it will get all streams
>and when /usr/bin/xv accesses the file it will only get the
>"main image" it wants?

Can't be done.

"/bin/mv", yes. Makes complete sense to move a full file with all
"subforks". It's actually very similar to a directory move.

But /bin/cp cannot do the same, at least not without teaching it to do
the same thing as for a recursive directory copy (which a regular UNIX
cp wouldn't even try to do on a regular file). But the recursive
directory copy approach should work.

At least in theory.

                Linus

-
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