Re: NTFS-like streams?

From: Miquel van Smoorenburg (miquels@cistron.nl)
Date: Sat Aug 12 2000 - 04:59:43 EDT

  • Next message: Mike A. Harris: "Re: OT:ftp.gnu.org dead?"

    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/



    This archive was generated by hypermail 2b29 : Sat Aug 12 2000 - 05:47:35 EDT