This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mssing packages for cygwin

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? ->
Cygwin Co-Project Leader
TimeSys, Inc.

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]