Added some interesting functionality to my cygwin sandbox

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Jul 1 15:23:00 GMT 2003


On Tue, 1 Jul 2003, Corinna Vinschen wrote:

> On Tue, Jul 01, 2003 at 06:17:05PM +0900, Kazuhiro Fujieda wrote:
> > >>> On Mon, 30 Jun 2003 10:29:32 -0400
> > >>> Christopher Faylor <cgf@redhat.com> said:
> >
> > > Does this reference the a: drive or the a: directory?
> >
> > I think it should be the former.
> > If it is the latter, we lose the only way to refer to `drive
> > letter rooted' paths independently of the mount table. It needs
> > the way to write shell scripts or Makefiles refering to them
> > which can work on any user environemnt.
>
> cygpath -u a:
>
> Corinna

Corinna,

This won't quite work.  If the user has private mounts, they will be
reflected in this, rather than the standard /cygdrive/a prefix.  There's
also a matter of symlinks becoming broken upon changing the cygdrive
prefix.  We ran into this problem with the base-files-mketc.sh postinstall
script -- we needed a way to refer to the Windows directory independent of
the mounts (I think that's what Kazuhiro referred to).  There was a
discussion of this on cygwin-apps back in February, see the thread
starting at <http://cygwin.com/ml/cygwin-apps/2003-02/msg00026.html>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton



More information about the Cygwin-developers mailing list