Re: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
> I'm having a problem with chroot - see the following strace: > 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 2

RE: [list] RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Randall R Schulz
Chris, When an exec(2) system call fails do to a file format problem (ENOEXEC) as opposed to a file-not-found error (ENOENT) or a permission error (EPERM), the fallback action taken by the shell is to interpret the file as a script. One could argue that the shell should be a little more intell

RE: [list] RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
> > > 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.

RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Randall R Schulz
ber 01, 2002 5:08 PM > To: [EMAIL PROTECTED] > 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 th

RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Rolf Campbell
oblem 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 > succee

RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
> 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