chroot command

From: Fred Leung <fleun_at_doh.health.nsw.gov.au>
Date: Wed, 08 Sep 2004 11:47:28 +1000

hello t64-managers,

i couldn't get the chroot command working on a T64 v5.1a or v4.x
machine. Any idea what i have missed?

When i issueed 'chroot /prod1 /bin/ksh' or
                'chroot /prod1 /bin/ls -l trash'
It didn't give me an error message nor give me a subshell.
it appeared as if it finished processing the command instantaneously
but with no result.

Below are the files and subdirectories i copied across from
the real root to /prod1. what are the minimum
setup files that needs to be copied across?

Thanks for any responds.

Frederick.
fleun_at_doh.health.nsw.gov.au

_________________________________________
test:/prod1>ls -Rl sbin shlib usr etc
etc:
total 24
drwxr-xr-x 2 root system 8192 Aug 30 16:44 .
drwxr-xr-x 17 root system 8192 Aug 30 17:23 ..
-rwxr-xr-x 1 root system 655 May 11 14:52 group
-rw-r--r-- 1 root system 6067 Aug 27 11:28 passwd
-rwxr-xr-x 1 bin bin 108 Apr 3 2000 shells

sbin:
total 536
drwxr-xr-x 2 root system 8192 Sep 8 10:48 .
drwxr-xr-x 17 root system 8192 Aug 30 17:23 ..
-rwxr-xr-x 2 bin bin 270336 Feb 9 2000 ksh
-r-xr-xr-x 1 bin bin 131072 Jul 11 1999 loader
-rwxr-xr-x 2 bin bin 131072 Jan 7 1999 sh

shlib:
total 3672
drwxr-xr-x 2 root system 8192 Mar 17 2000 .
drwxr-xr-x 17 root system 8192 Aug 30 17:23 ..
-rw-r--r-- 1 bin bin 1662096 Feb 9 2000 libc.so
-rw-r--r-- 1 bin bin 1662096 Feb 9 2000 libc_r.so
-rw-r--r-- 1 bin bin 40960 Feb 9 2000 libfilsys.so
-rw-r--r-- 1 bin bin 81920 Feb 9 2000 libmsfs.so
-rw-r--r-- 1 bin bin 294912 Jul 10 1999 libvxvm.so

usr:
total 32
drwxr-xr-x 4 root system 8192 Aug 30 16:59 .
drwxr-xr-x 17 root system 8192 Aug 30 17:23 ..
drwxr-xr-x 2 root system 8192 Aug 30 17:06 bin
drwxr-xr-x 2 root system 8192 Aug 30 17:02 lib

usr/bin:
total 458
drwxr-xr-x 2 root system 8192 Aug 30 17:06 .
drwxr-xr-x 4 root system 8192 Aug 30 16:59 ..
-rwxr-xr-x 1 bin bin 1518 Dec 30 1997 cd
-rwxr-xr-x 2 bin bin 270336 Feb 9 2000 ksh
-rwxr-xr-x 1 bin bin 32768 Dec 30 1997 ls
-rwxr-xr-x 1 bin bin 16384 Dec 30 1997 pwd
-rwxr-xr-x 2 bin bin 131072 Jan 7 1999 sh

usr/lib:
total 16829
drwxr-xr-x 2 root system 8192 Aug 30 17:02 .
drwxr-xr-x 4 root system 8192 Aug 30 16:59 ..
-rwxr-xr-x 1 bin bin 4115 Dec 30 1997 lib.b
-rw-r--r-- 1 bin bin 11418 Jan 6 1998 libAF.a
-rw-r--r-- 1 bin bin 942184 May 2 2000 libDXm.a
-rw-r--r-- 1 bin bin 71596 May 2 2000 libFS.a
-rw-r--r-- 1 bin bin 134306 Nov 12 1998 libICE.a
-rw-r--r-- 1 bin bin 195558 Dec 9 1997 libMrm.a
-rw-r--r-- 1 bin bin 44728 Jan 6 1998 libPW.a
-rw-r--r-- 1 bin bin 51084 Dec 9 1997 libSM.a
-rw-r--r-- 1 bin bin 429578 Dec 9 1997 libUil.a
-rw-r--r-- 1 bin bin 1654296 Sep 8 2000 libX11.a
-rw-r--r-- 1 bin bin 53718 Dec 9 1997 libXETrap.a
-rw-r--r-- 1 bin bin 80874 Dec 9 1997 libXIE.a
-rw-r--r-- 1 bin bin 27678 Dec 9 1997 libXau.a
-rw-r--r-- 1 bin bin 395938 Nov 12 1998 libXaw.a
-rw-r--r-- 1 bin bin 36516 Nov 12 1998 libXdmcp.a
-rw-r--r-- 1 bin bin 112008 Dec 9 1997 libXext.a
-rw-r--r-- 1 bin bin 92440 Dec 9 1997 libXi.a
-rw-r--r-- 1 bin bin 123916 Dec 20 1997 libXie.a
-rw-r--r-- 1 bin bin 2409064 Sep 8 2000 libXm.a
-rw-r--r-- 1 bin bin 130032 Nov 12 1998 libXmu.a
-rw-r--r-- 1 bin bin 643352 Sep 8 2000 libXt.a
-rw-r--r-- 1 bin bin 13734 Dec 9 1997 libXtst.a
-rw-r--r-- 1 bin bin 15896 Dec 9 1997 libXv.a
-rw-r--r-- 1 bin bin 29200 Jul 10 1999 libaio.a
-rw-r--r-- 1 bin bin 13110 Jul 10 1999 libaio_raw.a
-rw-r--r-- 1 bin bin 18862 Jan 6 1998 libaud.a
-rw-r--r-- 1 bin bin 20222 Feb 7 1998 libbkr.a
-rw-r--r-- 1 bin bin 18874 Jan 6 1998 libbsd.a
-rw-r--r-- 1 bin bin 2055104 Feb 9 2000 libc.a
-rw-r--r-- 1 bin bin 2055104 Feb 9 2000 libc_r.a
-rw-r--r-- 1 bin bin 16728 Jan 6 1998 libcdrom.a
-rw-r--r-- 1 bin bin 96384 Jan 6 1998 libcfg.a
-rw-r--r-- 1 bin bin 669088 Jul 11 1999 libcurses.a
-rw-r--r-- 1 bin bin 249250 Jan 6 1998 libcxx.a
-rw-r--r-- 1 bin bin 118260 Jan 6 1998 libdb.a
-rw-r--r-- 1 bin bin 3296 Jan 6 1998 libdbm.a
-rw-r--r-- 1 bin bin 6884 Jan 6 1998 libdnet_stub.a
-rw-r--r-- 1 bin bin 493392 Dec 9 1997 libdps.a
-rw-r--r-- 1 bin bin 488300 Dec 9 1997 libdpstk.a
-rw-r--r-- 1 bin bin 19718 Feb 9 2000 libfilsys.a
-rw-r--r-- 1 bin bin 270522 Dec 20 1997 libids.a
-rw-r--r-- 1 bin bin 98490 Dec 30 1997 libkdbx.a
-rw-r--r-- 1 bin bin 6590 Jan 6 1998 libl.a
-rw-r--r-- 1 bin bin 5836 Jul 10 1999 liblmf.a
-rw-r--r-- 1 bin bin 6590 Jan 6 1998 libln.a
-rw-r--r-- 1 bin bin 666208 Jan 6 1998 libm.a
-rw-r--r-- 1 bin bin 68918 Jan 6 1998 libmach.a
-rw-r--r-- 1 bin bin 510410 Oct 1 1999 libmld.a
-rw-r--r-- 1 bin bin 26308 Jan 6 1998 libmp.a
-rw-r--r-- 1 bin bin 2504 Jan 6 1998 libndb.a
-rw-r--r-- 1 bin bin 54512 Jan 6 1998 libots.a
-rw-r--r-- 1 bin bin 44142 Oct 1 1999 libots3.a
-rw-r--r-- 1 bin bin 28960 Jul 10 1999 libpacl.a
-rw-r--r-- 1 bin bin 27642 Jan 6 1998 libpdf.a
-rw-r--r-- 1 bin bin 29258 Jan 6 1998 libpset.a
-rw-r--r-- 1 bin bin 26952 Dec 9 1997 libpsres.a
-rw-r--r-- 1 bin bin 610 Jan 6 1998 libresolv.a
-rw-r--r-- 1 bin bin 652 Jan 6 1998 librpc.a
-rw-r--r-- 1 bin bin 40358 Jan 6 1998 librpcsvc.a
-rw-r--r-- 1 bin bin 411534 Oct 24 2000 libsecurity.a
-rw-r--r-- 1 bin bin 84140 Oct 1 1999 libst.a
-rw-r--r-- 1 bin bin 3464 Jan 6 1998 libstor.a
-rw-r--r-- 1 bin bin 10818 Jan 6 1998 libtermcap.a
-rw-r--r-- 1 bin bin 10818 Jan 6 1998 libtermlib.a
-rw-r--r-- 1 bin bin 81878 Jul 10 1999 libtli.a
-rw-r--r-- 1 bin bin 4362 Jan 6 1998 libutil.a
-rw-r--r-- 1 bin bin 266530 Jan 6 1998 libvxvm.a
-rw-r--r-- 1 bin bin 166368 Dec 9 1997 libxkbfile.a
-rw-r--r-- 1 bin bin 17628 Jan 6 1998 libxproc.a
-rw-r--r-- 1 bin bin 67574 Jul 10 1999 libxti.a
-rw-r--r-- 1 bin bin 1620 Jan 6 1998 liby.a
Received on Wed Sep 08 2004 - 01:51:14 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT