Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <200105241922.MAA06882@proxy2.ba.best.com> Date: Thu, 24 May 2001 12:22:26 -0700 (Pacific Daylight Time) From: Symeon Noon Subject: how to chroot? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE X-Mailer: Mahogany, 0.62 'Mars', running under Windows NT 5.0 (build 2195, Service Pack 1) 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