In message <[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED] | 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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message