delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/16/07:08:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 16 Nov 2009 13:06:50 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Seems like treatment of NTFS ADS (foo:bar) changed between 1.5 and 1.7 but not mentioned in What's Changed
Message-ID: <20091116120650.GH29173@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <26363833 DOT post AT talk DOT nabble DOT com> <416096c60911151427g12cc5582t6d9bbdc063c5b14a AT mail DOT gmail DOT com> <4B013E09 DOT 1010209 AT towo DOT net>
MIME-Version: 1.0
In-Reply-To: <4B013E09.1010209@towo.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Nov 16 12:56, Thomas Wolff wrote:
> Andy Koppe wrote:
> >I'd suspect the support for ADSs in 1.5 was rather accidental anyway.
> >POSIX programs certainly don't know about them, and you get the rather
> >weird situation that "files" like foo:bar can be accessed but don't
> >show up in the directory they're in. Hence I think the right way to
> >access ADSs is via Windows tools. Unless there is a POSIXy way to
> >represent them?
> I've only learned about this ADS stuff recently but yes, I think,
> simply using the "a:b" syntax (which is also used by Windows tools)
> and handling them as a virtual file is a quite obvious POSIX way to
> do it.
> So if it worked in 1.5, whether accidental or not, I think it should
> continue to work in 1.7.

It's a deliberate change.  It's more important to support as much POSIXy
filenames as possible than to access streams.  I agree with Andy.  Use
Windows tools to use them.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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