UNIX for Beginners Questions & Answers

If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

Why does a fakechroot exist?

chroot, sudo

👤 Login to reply
Thread Tools Search this Thread Display Modes
Old 6 Days Ago
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 18 July 2018, 4:36 PM EDT
Location: San Jose, CA, USA
Posts: 11,408
Thanks: 649
Thanked 3,970 Times in 3,393 Posts
The process that chroot starts is a new process; it does not replace an existing process (and certainly does not replace PID 1 in the global zone).

You might be able to use chroot to start a non-global zone with an alternative root directory and have that affect all processes run in that zone, but I no longer have access to a system where I could verify whether or not that would work.
Sponsored Links
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Does ${%name} exist in csh? kristinu UNIX for Dummies Questions & Answers 2 01-10-2012 07:45 AM
if pid exist ? pelle Shell Programming and Scripting 4 08-17-2010 02:53 AM
su: user x does not exist user23 UNIX for Dummies Questions & Answers 3 10-23-2007 06:34 PM
does it exist in linux? pbonilla UNIX for Dummies Questions & Answers 1 08-03-2003 01:37 AM

All times are GMT -4. The time now is 06:23 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?