From owner-freebsd-hackers Mon Jan 27 9:38:15 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF28937B401 for ; Mon, 27 Jan 2003 09:38:14 -0800 (PST) Received: from PIKES.panasas.com (gw2.panasas.com [65.194.124.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 220C643E4A for ; Mon, 27 Jan 2003 09:38:14 -0800 (PST) (envelope-from rgrover@panasas.com) Received: from tiltill ([172.17.132.191]) by PIKES.panasas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XA314S1Z; Mon, 27 Jan 2003 12:38:07 -0500 Content-Type: text/plain; charset="us-ascii" From: Rohit Grover Organization: Panasas Inc. To: freebsd-hackers@freebsd.org Subject: having trouble understanding something about ccd Date: Mon, 27 Jan 2003 09:38:06 -0800 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301270938.06988.rgrover@panasas.com> 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 Hello, This question is for the current maintainer(s) of ccd. The email listed in ccd.c is invalid. In ccdioctl, for the command CCDIOCSET, ccdgetdisklabel() is called after ccdinit(). In ccdgetdisklabel(), the raw partition's size is initialized (to a value computed by ccdinit()) before calling readdisklabel() which overwrites it with stuff read off the media. This results in the loss of the computed value for size. Could you please shed some light on the merits of this sequence of actions. rohit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message