Date: Sat, 22 Dec 2001 18:07:00 -0800 From: Jordan Hubbard <jkh@winston.freebsd.org> To: The Anarcat <anarcat@anarcat.dyndns.org> Cc: arch@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: sysctl kern.disks shouldn't have to sort its output Message-ID: <33799.1009073220@winston.freebsd.org> In-Reply-To: Message from The Anarcat <anarcat@anarcat.dyndns.org> of "Sat, 22 Dec 2001 19:54:50 EST." <20011223005449.GE530@shall.anarcat.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Yes, of course. But I wonder how best it would be implemented... By > controlling how entries are added to the list, or by controlling how he > prints those entries? It's only useful if you control how the entries are added to the Disks ** structure. > Because it is a list, sorting it is not very efficient. At the output It's small. You can bubble sort it for all we care. :) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33799.1009073220>