From owner-freebsd-hackers Tue Jun 26 14:55:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id B88F837B401 for ; Tue, 26 Jun 2001 14:55:46 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f5QLtkC14190 for hackers@freebsd.org; Tue, 26 Jun 2001 14:55:46 -0700 Date: Tue, 26 Jun 2001 14:55:46 -0700 From: Brooks Davis To: hackers@freebsd.org Subject: rman wildcard question Message-ID: <20010626145546.B7909@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7OQThXY6L6fI4GtQRAvdsAJwMBsFJPL2Oh5edFHTiMNGymX0dCgCgkZEf 3p0REjCuX9z5l6hzC/FnX3Q= =eBAv -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message