delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/27/12:52:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <03F4742D8225D21191EF00805FE62B9908E23ED7@aa-msg-01.medstat.com>
From: John Wiersba <John DOT Wiersba AT medstat DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: Cygwin: Interoperability Is Important (was Cygwin: Open or Cl
osed System, etc)
Date: Wed, 27 Jun 2001 12:30:32 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-OriginalArrivalTime: 27 Jun 2001 16:30:50.0149 (UTC) FILETIME=[86C85550:01C0FF26]

> -----Original Message-----
> From: Robert Collins [mailto:robert DOT collins AT itdomain DOT com DOT au]
> Sent: Wednesday, June 27, 2001 12:31 AM
> To: Fred T. Hamster; cygwin AT cygwin DOT com
> Subject: RE: Cygwin: Interoperability Is Important (was 
> Cygwin: Open or
> Closed System, etc)
> 
> > current directory on drive a.  i can't claim that with 
> certainty now, 
> > considering your mention of NTFS streams.  i've not 
> encountered that 
> > usage you're describing yet.  is that accessible in command prompts?
> 
> $ echo "c" > "foo"
> $ echo "a" >  "foo:1" 
> $ echo "b" > "foo:2"

Never heard of these "NTFS streams" before.  Wow!  Unbelievable!  Ugh!  A
new way to hide data, even better than dot files.

$ echo c >foo
$ echo abcde >foo:1
$ ls -l foo*
-rw-r--r--    1 jrw      JRW             2 Jun 27 12:21 foo   <= note: only
2 bytes
$ cat foo:1
abcde
$ cp foo bar
$ cat bar
c
$ cat bar:1
cat: bar:1: No such file or directory

(Using Windows Explorer to copy foo to bar does also copy all streams, so
that bar:1 can be read)

-- John

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019