lkml.org 
[lkml]   [2000]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: NTFS-like streams?
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.233 / U:4.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site