Re: NTFS-like streams?

Miquel van Smoorenburg (miquels@cistron.nl)
12 Aug 2000 08:59:43 GMT


In article >Pine.LNX.4.21.0008120028320.11791-100000@duckman.distro.conectiva>,
Rik van Riel <riel@conectiva.com.br> wrote:
>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?
>Unless you have some magic up your sleeve, it sounds like
>you're contradicting yourself here...

% man cp
[..]
-p, --preserve
preserve file attributes if possible

The command line option is already there ... A stat() of the file
would return S_MULTI or whatever and cp would know how to handle it.
Tar, cpio and pax same story

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/