delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/05/03:51:57

X-Spam-Check-By: sourceware.org
Message-ID: <BAY120-F40ED5BD137AD1A3DA39B968B120@phx.gbl>
X-Sender: tom_lee01 AT hotmail DOT com
In-Reply-To: <4524727E.1070709@byu.net>
From: "Tom Lee" <tom_lee01 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin unix commands in windows
Date: Thu, 05 Oct 2006 07:51:41 +0000
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Eric,

thanks for your help.

> >
> > after further study, I noticed that using "c:/directory" works fine with
> > my tests except tar.exe.
> >
> >
> > I understand people here may like /cygdrive/c more than c:/.  Just want
> > to know if it is an accident feature that all other commands can work
> > with c:/ except tar?
>
>You asked, so I'll answer.  Yes, it is an accident that other tools
>understand c:/.  Cygwin operates on the philosophy that you should use
>POSIX paths, aka /cygdrive/c (or if that is too much typing for you, read
>'man mount' for how you can shorten it to /c, by remounting cygdrive as
>'/').

is there a way to mount /cygdrive/c as /?
by default,  c:/cygwin is mounted as /.

I really like the feature of "ls /" to display evevrything under c:/

><...>
>  Another example of a program that parses its arguments is make; you need
>only read last months archives for the debate about make 3.80 vs. make
>3.81 for proof that using DOS paths in cygwin programs is ASKING for
>problems.

I just checked the debate. it looks a strong demand for supporting dos path.
A good lessen. I think I need to make a copy of these unix commands in case 
the future release remove the support of "C:/". :)

Thanks for your tips.

tom

_________________________________________________________________
All-in-one security and maintenance for your PC.  Get a free 90-day trial!  
http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail


--
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/

- Raw text -


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