delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/27/13:19:44

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
Date: Tue, 27 Feb 2001 18:41:31 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: New symlinks.
Message-ID: <20010227184131.A5328@cygbert.vinschen.de>
Mail-Followup-To: Cygwin <cygwin AT cygwin DOT com>
References: <20010227064205 DOT 24363 DOT qmail AT web6404 DOT mail DOT yahoo DOT com> <20010227104026 DOT B10525 AT redhat DOT com> <20010227171730 DOT L4275 AT cygbert DOT vinschen DOT de> <20010227114332 DOT F10689 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010227114332.F10689@redhat.com>; from cgf@redhat.com on Tue, Feb 27, 2001 at 11:43:32AM -0500

On Tue, Feb 27, 2001 at 11:43:32AM -0500, Christopher Faylor wrote:
> On Tue, Feb 27, 2001 at 05:17:30PM +0100, Corinna Vinschen wrote:
> >I think it's correct behaviour. Cygwin doesn't show the .lnk
> >suffix by itself but nevertheless, to return a `file not found'
> >on `ls foo.lnk' wouldn't be correct. It's simply the truth:
> >The file `foo.lnk' exists and is a symlink.
> 
> Again, it is surprising behavior.  Such a file would not exist on UNIX.
> I personally think that we should hide implementation details like
> "Oh yeah, we added a .lnk extension to all of our symbolic links"
> from the user.  There is no reason for them to know or care about
> this detail.

Sure, but it is hidden from the normal user. If a user doesn't
know about the implementation details how should he ever have
the idea to explicitely type in `ls foo.lnk'? On the other hand
the experienced user would expect a result. It's BTW the only
chance to get the info whether it's an old or a new symlink on
the command line without using strace. This is a sort of
information hiding which only hits the experienced ones.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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