[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bind() and mount() confusion




I apologize in advance if I'm missing something basic.

I'm trying to understand the semantics of `bind()' and `mount()'.  
>From what I can see, both these operations modify the name space seen
by an Inferno process.  I'm not very clear how the two work together though.

(a) why are there two namespace operations and not a single primitive?

(b) can multiple `bind()'s be done on a mount point; if so what could
    be the use of this?

One reason I could guess at is that `bind()' can be used to expose 
a subset of a mounted tree to an application.  But are there any other
reasons?

Thanks,
Koshy
<koshy@india.hp.com>		My Personal Opinions Only.