08:38:18 # Life chroot and proc filesystem. Although I am also tempted to consider taking up ballroom dancing in that case, on a very unrelated note, is this just my kernel, or is it a general knowledge that I can use /proc/1/root/ to access what is outside the chroot?
root@dancer64:/proc/self# ls /proc/self/root/. -id 693684 /proc/self/root/. root@dancer64:/proc/self# ls /proc/1/root/. -id 2 /proc/1/root/.
The reson why I've wanted to check was that initscripts package checks for whether it is inside a chroot with [ -r /proc/1/root ] and that's not a valid check.
$Id: dancer-diary.el,v 1.91 2006/06/15 15:14:10 dancer Exp $