This is the mail archive of the
mailing list for the Cygwin project.
Re: cygwin pathing
- From: Ronald Landheer-Cieslak <blytkerchan at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 15 Sep 2003 18:06:04 +0200
- Subject: Re: cygwin pathing
- References: <email@example.com>
First of all: Cygwin != Bash
What you are looking at is a difference in behaviour between two versions of
Bash: one is buggy, the other one is not. The buggy one - contrary to what
you apparently expect - is the first one.
Cygwin is a POSIX emulation layer. As such, the paths it uses are POSIX-ised.
c:/directory becomes /cygdrive/c/directory. This is the expected behaviour and
will not be changed back.
As for configuration files and somesuch that control this behaviour, there are
none: it is hard-coded because it is a Good Thing.
If you do want the Windows versions of the path, use the cygpath utility.
On Mon, Sep 15, 2003 at 11:14:13AM -0400, Kevin S. wrote:
> I'm currently trying to duplicate a cygwin environment on another system.
> There is one behavior which I haven't been able to solve yet. For instance:
> Original system (cygwin v2.05a.0(3)-release):
> you type: "cd c:/directory"
> you get: "c:/directory"
> New system (cygwin v2.05b.0(13)-release):
> you type "cd c:/directory"
> you get: "/cygdrive/c/directory"
> Both systems run Windows 2000 sp3. I've looked at /etc/profile,
> /home/<user>/.bash_profile and there is no .bashrc file on the original
> system. Are there any other files which might dictate the difference in the
> above behavior?
> Thanks in advance,
> Kevin S.
> 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/
I think that I shall never see
A billboard lovely as a tree.
Indeed, unless the billboards fall
I'll never see a tree at all.
-- Ogden Nash
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html