lkml.org 
[lkml]   [1999]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: access to proc filesystem from chrooted process
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.095 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site