Re: access to proc filesystem from chrooted process

Andreas Schwab (schwab@issan.cs.uni-dortmund.de)
23 May 1999 02:06:40 +0200


Riley Williams <rhw@MemAlpha.CX> writes:

|> Sure, I know that the proc file system does not have to be mounted
|> over /proc (although it usually is), but I'd love to know how to mount
|> it so that it's visible to two processes that are respectively
|> chroot'd as follows:
|>
|> 1. /home/ftp (aka ~ftp)
|>
|> 2. /usr/mirrors (aka ~mirrors)
|>
|> As you can see, there are no common subdirectories between those two
|> processes...

# mount -t proc ftp/proc /home/ftp/proc
# mount -t proc mirrors/proc /usr/mirrors/proc

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/