This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: chroot problem
- Subject: Re: chroot problem
- From: "Noel L Yap" <yap_noel at jpmorgan dot com>
- Date: 2001年7月30日 16:18:06 -0400
- cc: cygwin at sourceware dot cygnus dot com
It just occurred to me that I updated my version of CygWin last Friday. I guess
something broke within the last few months?
Thanks,
Noel
chroot was working for me last Friday, but now I can't even do "chroot /". I
don't think I've changed anything. Here's the output:
nyap:jpmpsdev@NYAP:~> chroot /
chroot: cannot execute /bin/bash: No such file or directory
nyap:jpmpsdev@NYAP:~> type bash
bash is /bin/bash
And here's the output of cygcheck:
nyap:jpmpsdev@NYAP:~> cygcheck.exe -s -v -r
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Jul 30 14:40:54 2001
WinNT Ver 4.0 build 1381 Service Pack 6
Path: ~/bin
//jpmpshome/home/nyap/bin
/usr/local/bin
/bin
/bin/i686-pc-cygwin32
/%/c/NTRESKIT
/usr/atria/bin
/%/c/Program Files/Rational/common
/%/d/opt/Rational/ClearCase/4.0/bin
/%/c/WINNT/system32
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
PWD = `/home/nyap'
HOME = `/home/nyap'
NUMBER_OF_PROCESSORS = `1'
LOGONSERVER = `\\NYAP'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
COLORFGBG = `0;default;15'
TZ = `EST5EDT'
TMPDIR = `/%/c/TEMP'
COMSPEC = `C:\WINNT\system32\cmd.exe'
WINDOWID = `167837952'
NWLANGUAGE = `English'
SYSTEMDRIVE = `C:'
ROOTDIR = `D:\OPT\MKS\TOOLKIT7円.0'
HOSTNAME = `NYAP'
INCLUDE = `C:\SYBASE\OC11.11\INCLUDE'
PROCESSOR_REVISION = `0803'
HISTFILESIZE = `256'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH,.SH'
COMPUTERNAME = `NYAP'
CLASSPATH = `/opt/jrun/lib/servlet.jar:/opt/jconnect/5.2/classes/jconn2.jar'
WINDIR = `C:\WINNT'
USERPROFILE = `C:\WINNT\Profiles\nyap'
!S: = `S:\'
TERMINFO = `D:\OPT\MKS\TOOLKIT7円.0\usr\lib\terminfo'
MANPATH = `/usr/man'
!F: = `F:\'
NUTCROOT = `D:\OPT\MKS\TOOLKIT7円.0'
PS1 = `\u:jpmpsdev@\h:\w\[033円[00m\]\[033円[00m\]>
\[033円]0;\u:jpmpsdev@\h:\w007円\]'
PROMPT_COMMAND = `{ unset PWV; PWV_COLOR="[00m"; if [ "`type -p cleartool`" !=
"" ]; then if [ "`pwv -short -wdview`" != "** NONE **" ]; then if [ "`pwv -short
-wdview`" = "`pwv -short -setview`" ]; then PWV_COLOR="[32m"; else
PWV_COLOR="[34m"; fi; PWV="|`pwv -short -wdview`"; elif [ "`pwv -short
-setview`" != "** NONE **" ]; then PWV_COLOR="[31m"; PWV="|`pwv -short
-setview`"; fi; fi; export PS1="\u:`id -g
-n`@\h:\w\[033円$PWV_COLOR\]$PWV\[033円[00m\]> \[033円]0;\u:`id -g
-n`@\h:\w$PWV007円\]"; }'
_WSAREA = `NYC-CT'
!T: = `T:\'
SYBASE = `C:\SYBASE\OC11.11'
LOCALHOME = `/usr/local/home/nyap'
!G: = `G:\'
HISTCONTROL = `ignoredups'
MACHTYPE = `i686-pc-cygwin'
!H: = `H:\'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
WIN32DMIPATH = `C:\DMI\'
OS = `Windows_NT'
XFILESEARCHPATH = `./app-defaults/%N:/home/nyap/app-defaults/%N'
OLDPWD = `/home/nyap'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/%/c/TEMP'
LPDEST = `HP3SI_01'
EDITOR = `/bin/vi'
NTRESKIT = `C:\NTRESKIT'
PROCESSOR_LEVEL = `6'
SYSTEMROOT = `C:\WINNT'
_WSNAME = `NYAP'
NWUSERNAME = `nyap'
COLORTERM = `rxvt-xpm'
CVSUMASK = `007'
TMP = `/%/c/TEMP'
WINDOWS_LOGIN = `0'
XUSERFILESEARCHPATH = `./app-defaults/%N:/home/nyap/app-defaults/%N'
DISPLAY = `:0.0'
HOMEDRIVE = `C:'
LIB = `C:\SYBASE\OC11.11\LIB'
SHLVL = `1'
_USAREA = `NYC-CT'
HOMEPATH = `\users\default'
USERDOMAIN = `NYAP'
!Z: = `Z:\'
SHELL = `/bin/bash'
USERNAME = `nyap'
HOSTTYPE = `i686'
CDPATH = `.:/home/nyap:/home/nyap/proj/*:/home/nyap/proj'
CVSROOT = `nyap@analytic-srvr2:/home/cvs/.cvsroot-alib'
OSTYPE = `cygwin'
HISTSIZE = `256'
TERM = `xterm'
_USNAME = `nyap'
EXINIT = `set ai sh=/bin/bash sw=4 sm showmode ts=4 nows'
_ = `/bin/cygcheck.exe'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/%'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `d:/cygwin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home/nyap
(default) = `h:'
flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/atria
(default) = `d:\opt\Rational\ClearCase4円.0'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `d:/cygwin/bin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `d:/cygwin/lib'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/view
(default) = `v:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/view/nyap-tig-du
(default) = `d:\cygwin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts
v2\/view/nyap-tig-du/vobs
(default) = `v:\nyap-tig-du'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts00円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts01円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts02円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts03円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts04円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts05円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts06円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts07円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts08円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts09円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts0円A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts0円B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts0円C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts0円D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts0円E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts0円F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts10円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts11円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts12円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts13円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts14円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts15円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts16円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts17円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts18円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts19円
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts1円A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts1円B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts1円C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts1円D
a: fd N/A N/A
c: hd NTFS 2047Mb 97% CP CS UN PA FC
d: hd NTFS 5977Mb 32% CP CS UN PA FC
e: cd N/A N/A
f: net NWFS 6000Mb 16% CP VOL1
g: net NWFS 2000Mb 60% CP DATA2
h: net NWFS 564Mb 97% CP VOL2
s: net NWFS 564Mb 97% CP VOL2
t: net NWFS 6000Mb 16% CP VOL1
u: net NTFS 4485Mb 96% PA home
v: net MVFS 1000Mb 50% CP CS CCase
z: net NWFS 2100Mb 44% CP SYS
d:\opt\Rational\ClearCase4円.0 /usr/atria user binmode
v:\nyap-tig-du /view/nyap-tig-du/vobs user binmode
d:\cygwin\bin /usr/bin user binmode
d:\cygwin\lib /usr/lib user binmode
d:\cygwin /view/nyap-tig-du user binmode
d:\cygwin / user binmode
h: /home/nyap user textmode
v: /view user binmode
c: /%/c user textmode,noumount
d: /%/d user textmode,noumount
f: /%/f user textmode,noumount
g: /%/g user textmode,noumount
s: /%/s user textmode,noumount
t: /%/t user textmode,noumount
u: /%/u user textmode,noumount
z: /%/z user textmode,noumount
Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: c:\NTRESKIT\cat.exe
Warning: d:\cygwin\bin\cat.exe hides c:\NTRESKIT\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: c:\NTRESKIT\ls.exe
Warning: d:\cygwin\bin\ls.exe hides c:\NTRESKIT\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\sh.exe
56k 2000年12月03日 d:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2000年11月20日 18:53
45k 2001年04月25日 d:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001年4月25日 1:28
18k 2000年10月23日 d:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2000年10月22日 22:26
17k 2001年06月28日 d:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001年1月6日 23:34
21k 2001年06月28日 d:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2001年6月27日 22:27
21k 2001年06月20日 d:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001年6月20日 13:09
81k 2001年04月28日 d:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2001年4月28日 18:57
35k 2001年04月28日 d:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2001年4月28日 18:57
45k 2001年07月04日 d:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
"cygjbig1.dll" v0.0 ts=2001年7月3日 23:25
119k 2001年06月06日 d:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
"cygjpeg6b.dll" v0.0 ts=2001年6月6日 0:27
26k 2001年04月25日 d:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001年4月25日 1:27
156k 2001年04月25日 d:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001年4月25日 1:29
226k 2001年04月25日 d:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001年4月25日 1:17
15k 2001年04月25日 d:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001年4月25日 1:27
163k 2001年05月06日 d:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
"cygpng2.dll" v0.0 ts=2001年5月6日 0:05
108k 2001年06月28日 d:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001年1月6日 23:34
135k 2001年06月28日 d:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2001年6月27日 22:27
390k 2001年04月28日 d:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2001年4月28日 18:56
5k 2001年04月28日 d:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2001年04月28日 d:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2001年4月28日 18:56
245k 2001年06月12日 d:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
"cygtiff3.dll" v0.0 ts=2001年6月12日 13:25
623k 2001年04月28日 d:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2001年4月28日 18:57
41k 2001年07月04日 d:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-noX4.dll" v0.0 ts=2001年7月3日 21:21
45k 2001年07月04日 d:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-X4.dll" v0.0 ts=2000年11月19日 21:45
678k 2001年05月21日 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2001年5月20日 23:28
Cygwin DLL version info:
dll major: 1003
dll minor: 2
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
dll malloc env: 28
api major: 0
api minor: 39
shared data: 3
dll identifier: cygwin1
mount registry: 2
cygnus registry name: Cygnus Solutions
cygwin registry name: Cygwin
program options name: Program Options
cygwin mount registry name: mounts v2
cygdrive flags: cygdrive flags
cygdrive prefix: cygdrive prefix
cygdrive default prefix:
build date: Sun May 20 23:28:17 EDT 2001
shared id: cygwin1S3
Use -h to see help about each section
Can anyone help, please?
Thanks,
Noel
This communication is for informational purposes only. It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.
--
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/
This communication is for informational purposes only. It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.
--
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/