Received: by mail.netbsd.org (Postfix, from userid 605) id 95DE019CEC3; Fri, 7 Jan 2011 06:33:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3F9F719CEC0 for ; Fri, 7 Jan 2011 06:33:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ELbZo-8F7v6z for ; Fri, 7 Jan 2011 06:33:45 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id ACA3C19CE7B for ; Fri, 7 Jan 2011 06:33:45 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 90AD8175DD; Fri, 7 Jan 2011 06:33:45 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 7 Jan 2011 06:33:45 +0000 From: "Jeff Rizzo" Subject: CVS commit: [netbsd-5] src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110107063345.90AD8175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jeff Rizzo" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riz Date: Fri Jan 7 06:33:45 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: subr_disk.c src/sys/sys [netbsd-5]: device.h Log Message: Pull up following revision(s) (requested by mrg in ticket #1520): sys/sys/device.h: revision 1.133 sys/kern/subr_disk.c: patch Add helper function that determines the size and block size of a disk device. For now we query - the disk label - the wedge info and data from disk(9) To generate a diff of this commit: cvs rdiff -u -r1.93.10.2 -r1.93.10.3 src/sys/kern/subr_disk.c cvs rdiff -u -r1.112.6.1 -r1.112.6.2 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.