From owner-freebsd-arch Sun Dec 23 12:29:49 2001 Delivered-To: freebsd-arch@freebsd.org Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by hub.freebsd.org (Postfix) with ESMTP id B8C6537B405; Sun, 23 Dec 2001 12:29:44 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.189.35]) by tomts6-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011223202943.NZRF14445.tomts6-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Sun, 23 Dec 2001 15:29:43 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 0AC131B28; Sun, 23 Dec 2001 15:29:38 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 6A1F420ACD; Sun, 23 Dec 2001 15:29:32 -0500 (EST) Date: Sun, 23 Dec 2001 15:29:32 -0500 From: The Anarcat To: Poul-Henning Kamp Cc: arch@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: sysctl kern.disks shouldn't have to sort its output Message-ID: <20011223202931.GA34708@shall.anarcat.dyndns.org> References: <20011223164336.GA34175@shall.anarcat.dyndns.org> <72301.1009139148@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <72301.1009139148@critter.freebsd.dk> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun Dec 23, 2001 at 09:25:48PM +0100, Poul-Henning Kamp wrote: > In message <20011223164336.GA34175@shall.anarcat.dyndns.org>, The Anarcat= write > s: > > > >On Sun Dec 23, 2001 at 09:37:10AM +0100, Poul-Henning Kamp wrote: > >> In message <20011222230759.GD530@shall.anarcat.dyndns.org>, The Anarca= t w=3D > >rites: >=20 > >> >Anyways. If the sorting belongs to the kernel, I could do it. > >> don't. > > > >I did. Patch attached. :) It's simple, really. It just finds a proper > >place to add the disk when it is created instead of mindlessly adding it > >at the HEAD of the list. > > > >Oh, and if this gets committed, I suggest the removal of the printfs. :) >=20 > Since I think my my "MAINTAINER" status on subr_disk.c is still in good > standing, consider this official notice that I object to this patch > being committed. >=20 > Sorting of the disks should happen in userland according to the > individual applications need. Agreed, then. Would you then be kind enough to commit the changes to libdisk? ;) A. --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwmPqoACgkQttcWHAnWiGerBwCfX2+q8HpFAKWy+d04FChz1bPd s30AoJ26jiin1qkrowisz0lzbd+b731u =zKiG -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message