Re: Chroot bug

From: Willy Tarreau
Date: Wed Sep 26 2007 - 01:29:50 EST

On Wed, Sep 26, 2007 at 01:21:08AM -0400, Kyle Moffett wrote:
> Now, like magic, the entire system is once more accessible.
> Alternatively you could:
> mount -t proc proc /proc
> cat /proc/1/mounts

Since 2.6.20, it was even simpler :
mount -t proc proc /proc
cd /proc/1/cwd


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at