Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

Synopsis

/usr/sbin/chroot newroot
					command
				

Description

Use the chroot command to execute command relative to newroot. The meaning of any initial slashes (/) in the path names is changed to newroot for command and any of its child processes. On execution, the initial working directory is newroot.

Notice that redirecting the output of command to a file creates the file x relative to the original root of the command, not the new one.

chroot newroot
						command > x

The new root path name is always relative to the current root. Even if a chroot is currently in effect, the newroot argument is relative to the current root of the running process.

Only superuser can run this command.

Note

Exercise extreme caution when referencing device files in the new ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book