This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin environment


I would like to determine where I can look to discover why my local
installation of cygwin is behaving differently than on my build server.
(I did not install the original server version.) Here is what my local
env says about itself:

$ env
!C:=C:\cygwin\bin
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\mjaffe\Application Data
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=MJAFFE-DT
COMSPEC=C:\WINNT\system32\cmd.exe
CVSROOT=:pserver:mjaffe@damien:/usr/local/repository/maintree
HOME=/home/Administrator
HOMEDRIVE=C:
HOMEPATH=\
LOGONSERVER=\\MUTTLEY
MAKE_MODE=unix
MANPATH=:/usr/ssl/man
NUMBER_OF_PROCESSORS=1
OLDPWD=/home/Administrator
OS2LIBPATH=C:\WINNT\system32\os2\dll;
OS=Windows_NT
PATH=/usr/local/bin:/usr/bin:/bin:.:/cygdrive/c/Perl/bin/:/cygdrive/c/or
acle/ora
81/bin:/cygdrive/c/Program
Files/Oracle/jre/1.1.7/bin:/cygdrive/c/WINNT/system32
:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/PROGRA~1/
ULTRAE~1
:/usr/X11R6/bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0803
PROGRAMFILES=C:\Program Files
PROMPT=$P$G
PS1=\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$
PWD=/cygdrive/c/workarea/Neo/engineering/eureka/perl/Eureka/Segments/Aut
obuild
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINNT
TEMP=/cygdrive/c/DOCUME~1/mjaffe/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/mjaffe/LOCALS~1/Temp
USER=Administrator
USERDNSDOMAIN=wilytech.com
USERDOMAIN=WILY
USERNAME=mjaffe
USERPROFILE=C:\Documents and Settings\mjaffe
WINDIR=C:\WINNT
_=/usr/bin/env
--------------------------------------
When I say "mount" this is what I get:

C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type
system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
f: on /cygdrive/f type user (binmode,noumount)


And here is what the server says:

NUMBER_OF_PROCESSORS=1
PROMPT=$P$G
PWD=/home/builder
LOGONSERVER=\\SHELLY_NEO
OS2LIBPATH=C:\WINNT\system32\os2\dll;
COMSPEC=C:\WINNT\system32\cmd.exe
!C:=C:\WINNT\PROFILES\builder\DESKTOP
SYSTEMDRIVE=C:
HOSTNAME=SHELLY_NEO
PROCESSOR_REVISION=0703
!D:=D:\cygwin\bin
PATHEXT=.COM;.EXE;.BAT;.CMD
COMPUTERNAME=SHELLY_NEO
WINDIR=C:\WINNT
USERPROFILE=C:\WINNT\Profiles\builder
PS1=$PWD\>
USER=builder
MACHTYPE=i686-pc-cygwin
PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 3, GenuineIntel
OS=Windows_NT
OLDPWD=/c
PROCESSOR_ARCHITECTURE=x86
TEMP=/c/TEMP
PROCESSOR_LEVEL=6
SYSTEMROOT=C:\WINNT
HOMEDRIVE=C:
SHLVL=1
MAKE_MODE=unix
HOMEPATH=\
USERDOMAIN=SHELLY_NEO
USERNAME=builder
SHELL=/bin/bash
HOSTTYPE=i686
CVSROOT=:pserver:builder@damien:/usr/local/repository/maintree
OSTYPE=cygwin
TERM=cygwin
HOME=/home/builder
PATH=/usr/local/bin:/usr/bin:/bin:/d/perl5/bin:/c/WINNT/system32:/c/WINN
T:/c/PROGRA~1/TCL/bin:/d/perl/bin
_=/usr/bin/env

----------------------------
Server "mount" results:
/home/builder\>mount
d:\cygwin\bin on /usr/bin type system (binmode)
d:\cygwin\lib on /usr/lib type system (binmode)
d:\cygwin on / type system (binmode)
c: on /c type system (binmode)
d: on /d type system (binmode)
e: on /e type system (binmode)
f: on /cygdrive/f type user (binmode,noumount)
h: on /cygdrive/h type user (binmode,noumount)
i: on /cygdrive/i type user (binmode,noumount)
j: on /cygdrive/j type user (binmode,noumount)
k: on /cygdrive/k type user (binmode,noumount)
n: on /cygdrive/n type user (binmode,noumount)
o: on /cygdrive/o type user (binmode,noumount)
z: on /cygdrive/z type user (binmode,noumount)

What I would like to know is how the environment on the server knows to
use /c or /d instead of /cygdrive/c and /cygdrive/d etc?

Mark

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]