> 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 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message