This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
how to chroot?
- To: cygwin at cygwin dot com
- Subject: how to chroot?
- From: Symeon Noon <fcn at mail dot noon dot org>
- Date: Thu, 24 May 2001 12:22:26 -0700 (Pacific Daylight Time)
Silly question: How does one successfully chroot on cygwin? I can use it
under Linux (for example), but the variations I've tried under cygwin come
back with errors:
~$ chroot //c/fcn/ccc
chroot: cannot chdir to root directory: No such file or directory
(ccc contains a copy of cygwin's /bin directory.) I've tried
"/cygdrive/c/..." and other such patterns. The only chroot that works is
"chroot /", which gets me to the top of the cygwin hierarchy. My mount
table (the default) is:
~$ mount
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)
g: on /cygdrive/g type user (binmode,noumount)
Thanks,
Fredrik
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple