Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 18:49:56 +0100
From:      phk@freebsd.org
To:        Rohit Grover <rgrover@panasas.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: having trouble understanding something about ccd 
Message-ID:  <24170.1043689796@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 27 Jan 2003 09:38:06 PST." <200301270938.06988.rgrover@panasas.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200301270938.06988.rgrover@panasas.com>, Rohit Grover writes:
>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.

I think this code is largely overtaken by events, as recently as a
few days ago I ripped out the entire disklabel-fiddling code from
CCD and set it to use the systems default code instead.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?24170.1043689796>