can somebody help me to understand to bind and namespace ?
I made dir for manual pages in my $home and I wanted to bind it to /sys/man .
I typed:
1. term% bind -a $home/man/4 /sys/man/4
2. term% ns
3. bind /sys/man/4 /sys/man/4
4. bind -a /usr/antonin/man/4 /sys/man/4
5. term% unmount /sys/man/4 /sys/man/4
6. term% ns
7. bind /sys/man/4 /sys/man/4
a) I don't understand why is in my namespace added 3-th line?
b) if I unmounted /sys/man/4 on 5-th line, why is unmounted my
$home/man/4 instead and /sys/man/4 resides?
Antonin
--
- curiosity sKilled the cat
Till now it's clear.
> for what there is already there so it gets resolved. That are the
> extra lines you are looking at.
...sorry, i don't understand. :-(
Why 1 bind command adds 2! lines with bind command to my namespace?
Why is added "bind /sys/man/4 /sys/man/4" to namespace?
Why is one dir mounted to itself?
Antonin
say you run:
bind -a /bla /tiki
This means "add an entry in the table under /tiki after what already exists".
If this is the first entry you have for /tiki, after doesn´t make
sense, you need
something already there. Hence, another entry binding /tiki in /tiki is added
before yours.
In my home profile is "bind -a $home/bin/rc /bin" .
Why is not in my namespace line "bind -a /bin /bin" ?
What is different between
bind -a $home/bin/rc /bin
and
bind -a $home/man/4 /sys/man/4 ?
Antonin
Antonin
Essentially because before there is something like
bind $cputype/bin /bin
That assures that that there already is something $home/bin/rc can be
unioned to.
Martin
Antonin