This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Cygwin: Interoperability Is Important (was Cygwin: Open or Closed System, etc)


> -----Original Message-----
> From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> Sent: Wednesday, June 27, 2001 12:31 AM
> To: Fred T. Hamster; cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]