From owner-cvs-all Fri Jun 23 7: 5:32 2000 Delivered-To: cvs-all@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 1DD5A37B92E; Fri, 23 Jun 2000 07:05:24 -0700 (PDT) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 135U5A-0006Ij-00; Fri, 23 Jun 2000 16:05:20 +0200 Date: Fri, 23 Jun 2000 16:05:20 +0200 From: Neil Blakey-Milner To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libdisk disk.c Message-ID: <20000623160519.A24160@mithrandr.moria.org> References: <200006231401.HAA13241@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006231401.HAA13241@freefall.freebsd.org>; from nbm@FreeBSD.org on Fri, Jun 23, 2000 at 07:01:07AM -0700 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri 2000-06-23 (07:01), Neil Blakey-Milner wrote: > Log: > Let Disk_Names() take advantage of the kern.disks sysctl if it's > available. If not, it falls back to the existing hack and slash method. > > A positive side effect is that non-root users may now use Disk_Names(), > for non-dangerous libh/disk.tcl testing. This has been tested by a make world, and rebuilding sysinstall and other libdisk users like libh's libhdisk, but I can't promise that all disks register themselves. Oh, and I forgot to mention that this means we needn't have a static list of disk types. Neil -- Neil Blakey-Milner Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message