This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Cygwin: Interoperability Is Important (was Cygwin: Open or Closed System, etc)
- To: cygwin at cygwin dot com
- Subject: RE: Cygwin: Interoperability Is Important (was Cygwin: Open or Closed System, etc)
- From: John Wiersba <John dot Wiersba at medstat dot com>
- Date: Wed, 27 Jun 2001 12:30:32 -0400
> -----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/