Re: [lxc-devel] Reg:DIfference between chroot & pivot_root

2011-09-06 Thread Michael H. Warfield
On Tue, 2011-09-06 at 13:02 -0400, Alphonse Hansel Anthony wrote: > 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. >

[lxc-devel] Reg:DIfference between chroot & pivot_root

2011-09-06 Thread Alphonse Hansel Anthony
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 ch