Bind
目次
2005/05/08
bind / /
質問
From: rs_rlab@mail.ru Subject: [9fans] couple namespace question Date: 2005年5月7日 17:44:44:JST To: 9fans@cse.psu.edu Reply-To: rs_rlab@mail.ru, 9fans@cse.psu.edu Hello Fans, Why most process have 'ns' file with entryes: bind / / bind /net /net bind /n /n This is artifactes or some special functionality? Where is sane way to use proc fs: '#p/34/ctl' or '/proc/34/ctl' -- http://rs-rlab.narod.ru mailto:rs_rlab@mail.ru
回答
From: russcox@gmail.com Subject: Re: [9fans] couple namespace question Date: 2005年5月7日 21:56:09:JST To: rs_rlab@mail.ru, 9fans@cse.psu.edu Reply-To: russcox@gmail.com, 9fans@cse.psu.edu Why most process have 'ns' file with entryes: bind / / bind /net /net bind /n /n This is artifactes or some special functionality? This sets up the first entry of a union mount. In older versions you couldn't bind -a or -b until you had explicitly started a mount point using something like the above, but now the kernel does them for you when necessary. Where is sane way to use proc fs: '#p/34/ctl' or '/proc/34/ctl' Almost always use /proc. If you use #p then the tool does not play well with others like snapfs or import remote-machine /proc. Russ