Reg: Difference between chroot & pivot_root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Reg: Difference between chroot & pivot_root
- From: Alphonse Hansel Anthony <alphonse.anthony@xxxxxxxxx>
- Date: Tue, 6 Sep 2011 13:02:14 -0400
Hi,
What is the difference between chroot & pivot_root.
They don't seem obvious based on the man pages apart from the below mentioned
caveats.
1) Inherited Open file descriptors, have to be explicitly closed.
2) Does not change CWD of the process, which can be overcome by doing a chdir before & after chroot call.
Any information on this would be useful.
Thanks,
Alphonse
[Index of Archives]
[Virt Tools]
[Lib OS Info]
[Fedora Users]
[Fedora Desktop]
[Fedora SELinux]
[Yosemite News]
[KDE Users]