I picked up an Ultra 10 for a great price, installed Solaris 10, and aside from running the usual network services I'm wondering, what can I use this box for? What are the killer apps for Solaris that you can't run on anything else? It's got the Elite3D graphics, and while I'm sure they're no... (1 Reply)
I am new to Unix. What file do I need to edit so that I can telnet to Solaris 8. I recieve this message everytime I try to telnet. It allows me to LOGIN but kicks me out with this same message.
SunOS 5.8
login: root
Password:
Not on system console (2 Replies)
Hi need to install java in a Unix box, but have not been able to. Does anyone know where I can find information on where and how to install.
THank you (1 Reply)
We are getting the following error:
warning: pm: Can't set power level of TSI, gfxp to level 0
The machine is running Solaris 8. I think it is a SUn 220R box.
Any ideas what this means? (2 Replies)
Hi,
I need a clarification.
Is there any difference between AIX box and Sun Solaris box?
The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box.
Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
New Solaris box how do I tell if its raided
--------------------------------------------------------------------------------
Got a new machine in that was set up prior to receipt, how can I tell if the drives are raided and if so what raid level was used on Solaris 8?
thanks,
Jo C (1 Reply)
Hi guys. I plan to study Perl in near future, and Im just wondering, is Perl installed in Solaris with minimal install?
Cheers.
Edit: looks like I have found out Perl is installed with minimal install :)
Re: perl in Solaris (was Re: Re: disable processor: msg#00085... (3 Replies)
I have network with x computers which is divided in three subnets A, B ,C. All three subnets need can't access to internet because my old router -> R.I.P.
Probably best solution is to get new router and set up back internet connection but that is not good enough for me.
... (6 Replies)
hi,
can someone please guide me if there is any special hardware to use when we need to terminate an E1/T1 link on a Solaris10 box. I have a number of boxes and these all are located at longer distances. the only connectivity is the E1 links between these far location locations.
Would it be... (0 Replies)
Discussion started by: busyboy
0 Replies
LEARN ABOUT PLAN9
pivot_root
PIVOT_ROOT(8) System Administration PIVOT_ROOT(8)NAME
pivot_root - change the root filesystem
SYNOPSIS
pivot_root new_root put_old
DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since
pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details.
Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for
invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH:
cd new_root
pivot_root . put_old
exec chroot . command
Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the
root directory of the shell.
Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also
note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be
changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's
root or not).
OPTIONS -V, --version
Display version information and exit.
-h, --help
Display help text and exit.
EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
mount /dev/hda1 /new-root
cd /new-root
pivot_root . old-root
exec chroot . sh <dev/console >dev/console 2>&1
umount /old-root
Mount the new root file system over NFS from 10.0.0.1:/my_root and run init:
ifconfig lo 127.0.0.1 up # for portmap
# configure Ethernet or such
portmap # for lockd (implicitly started by mount)
mount -o ro 10.0.0.1:/my_root /mnt
killall portmap # portmap keeps old root busy
cd /mnt
pivot_root . old_root
exec chroot . sh -c 'umount /old_root; exec /sbin/init'
<dev/console >dev/console 2>&1
SEE ALSO chroot(1), pivot_root(2), mount(8), switch_root(8), umount(8)AVAILABILITY
The pivot_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux August 2011 PIVOT_ROOT(8)