delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/24/15:43:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <fcn AT mail DOT noon DOT org>
Subject: how to chroot?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019