This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Added some interesting functionality to my cygwin sandbox
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-developers at cygwin dot com
- Date: Tue, 1 Jul 2003 11:23:48 -0400 (EDT)
- Subject: Re: Added some interesting functionality to my cygwin sandbox
- Reply-to: cygwin-developers at cygwin dot com
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