cygwin unix commands in windows

Tom Lee tom_lee01@hotmail.com
Thu Oct 5 07:51:00 GMT 2006


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/



More information about the Cygwin mailing list