Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 13:15:58 -0400
From:      Brian Somers <brian@Awfulhak.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        hackers@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: rman wildcard question 
Message-ID:  <200106271715.f5RHFwV56441@hak.lan.Awfulhak.org>
In-Reply-To: Message from Brooks Davis <brooks@one-eyed-alien.net>  of "Tue, 26 Jun 2001 14:55:46 PDT." <20010626145546.B7909@Odin.AC.HMC.Edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In the gif interface cloning code I used the resource management code
> like Brian did in the tun cloning code to manage unit numbers.  When the
> user requests an arbitrary unit, they get the first one available, but
> I'm not convinced that's what we want because that has the potential to
> interfere with static configurations with temporary holes in them.  It
> seems that a more logical policy would be to allocate the largest
> available unit, but rman_reserve_resource doesn't seem to allow that.
> Is there a way to do this that I'm just not seeing?

Not with rman AFAIK.

Bear in mind though, starting with 0x7fff as an interface unit number 
will look pretty ugly when you ifconfig -a....

> -- Brooks

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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