In message <[EMAIL PROTECTED]>, "kai ouyang" writes:
>If we add a partition 'da0s1h' to the box, when we excute the g_attach()
>function,
>it will call redo_rank(). My viewpoint is that the 'DEV'(da0s1h) should
>been added between 'Sda0' and 'Mda1'. Based my understanding on
>'redo_rank', this function will change all the 'rank' of the elements on
>the chain, right?
>'ad1', 'ad2' and their branches is irrelevant to 'ad0', why their rank must
>change?
The "rank" number is used to detect loops in the topology.
You may want to browse the slides from my GEOM tutorial at EuroBSDCon:
http://2002.eurobsdcon.org/papers/
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message