X-Spam-Check-By: sourceware.org
Date: Mon, 2 Oct 2006 07:58:03 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: mssing packages for cygwin
Message-ID: <20061002115803.GA25943@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <45206395.8070204@cygwin.com> <BAY22-F12282908FBFE8EA3DE52D78B1F0@phx.gbl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BAY22-F12282908FBFE8EA3DE52D78B1F0@phx.gbl>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Oct 02, 2006 at 04:04:30AM +0000, Tom Lee wrote:
>since the root is c:/cygwin, "mv *.txt /my/directory" under cygwin will 
>goes to c:/cygwin/my/directory not c:/my/directory.
>
>it looks that all C program containing getcwd(), chdir() functions will not 
>work under cycgwin unless these C programs are compiled under cygwin, since 
>they won't recognize /cygdrive/c.

Well, duh?

>I really don't see any difference for using /cygdrive/c/ from c:/ under 
>windows. /cygdrive/c/ is windows specific path, so does c:/.

Cygwin emulates Linux.  "c:" has no special meaning to Linux so programs
which are designed to work on Linux may not understand the Windows
notion of "c:" as "the C drive".  We invented "/cygdrive" as a method for
referencing "the C drive" in a Linux/POSIX fashion.

This is how things have worked in Cygwin for years.  It is not going to
change and it is not really worth a long email discussion thread.

Can we move on now, please?
--
Christopher Faylor			spammer? ->	aaaspam@sourceware.org
Cygwin Co-Project Leader				aaaspam@duffek.com
TimeSys, Inc.

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

