-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Monday 2006-11-13 at 06:41 -0800, Martin Mielke wrote:
> # pwd
> /disk2/mnt/sources
>
> # chroot /disk2/mnt/sources
> chroot: cannot run command `/bin/bash': No such file or directory
Mi understanding is that trying to run a command that is not local to the
chroot environment would fail. But the chroot command itself should run.
Look, the info page says:
| Exit status:
|
| 1 if `chroot' itself fails
| 126 if COMMAND is found but cannot be invoked
| 127 if COMMAND cannot be found
| the exit status of COMMAND otherwise
nimrodel:~ # chroot /mnt ; echo $?
chroot: cannot run command `/bin/bash': No such file or directory
127
nimrodel:~ #
So, it is trying to execute a command on entry, although I have specified
none. It must be bash itself.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFFWJDAtTMYHG2NR9URAon1AKCPzPYULzNY5QXr2lC2CkbbqgDwqQCfd/mi
gd1E7XPAVKe9JpxG6OUca2M=
=VRtk
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]