Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 23:22:03 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "kai ouyang" <oykai@msn.com>
Cc:        Current@FreeBSD.ORG
Subject:   Re: about GEOM 'geoms' chain question 
Message-ID:  <82092.1038262923@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 25 Nov 2002 11:58:53 %2B0800." <F5bUCwBp9evGMVJ7Anv00003d37@hotmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <F5bUCwBp9evGMVJ7Anv00003d37@hotmail.com>, "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
phk@FreeBSD.ORG         | 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82092.1038262923>