Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: problem with chroot causing Cygwin to get confused about the root directory Date: Sun, 1 Dec 2002 18:32:53 -0500 Message-ID: <83040F98B407E6428FEC18AC720F5D73E5010E@exchange.tropicnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Rolf Campbell" To: "Chris January" , "Cygwin AT Cygwin DOT Com" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gB1NX1n28765 When I try "chroot ." in bash I get: $ chroot . chroot: cannot execute /bin/sh: No such file or directory > -----Original Message----- > From: Chris January [mailto:chris AT atomice DOT net] > Sent: Sunday, December 01, 2002 5:08 PM > To: Cygwin AT Cygwin DOT Com > Subject: RE: problem with chroot causing Cygwin to get > confused about the root directory > > > > I'm having a problem with chroot - see the following strace: > > <--snip--> > > > At the start of the strace chroot (".") has been called; it > succeeds > > at time 63935. (The same problem occurs with chroot( > rootfs>) as well). > > Then chdir ("/") is called at time 64000. The result of > > conv_to_posix_path at time 2652 should be '/', but is instead > > /cygdrive/c/... I'll look at the Cygwin source, but has anyone else > > any ideas as I suspect it may take me some time to track this down. > > In the same vain, chroot . in bash goes into an infinite loop. > > Chris > > > -- > 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/ > > -- 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/