Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 09:38:06 -0800
From:      Rohit Grover <rgrover@panasas.com>
To:        freebsd-hackers@freebsd.org
Subject:   having trouble understanding something about ccd
Message-ID:  <200301270938.06988.rgrover@panasas.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301270938.06988.rgrover>