On Tue, 16 Aug 2005, Christopher Faylor wrote:

> On Tue, Aug 16, 2005 at 05:10:25PM -0400, Igor Pechtchanski wrote:
> >There may not be a C: drive, but "cygpath -u c:" will do the right thing
> >-- try it with a drive you don't have.
>
>   mount -f c: /willthisthreadeverdie
>   cygpath -u c:
>   /willthisthreadeverdie

Yes, yes, I'm aware that if you explicitly mount a drive, you'll have that
mount point instead of /cygdrive (that's what I meant by "special mounts"
in <http://cygwin.com/ml/cygwin/2005-08/msg00679.html>).  I was making a
point that even if the drive doesn't exist, cygpath will convert it to a
/cygdrive form, e.g.,

$ mount -c /idontthinkitwilleverdie
$ ls q:
ls: q:: No such file or directory
$ cygpath -u q:
/idontthinkitwilleverdie/q
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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

Reply via email to