GBDE + md() + ccd() = corruption?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 14 01:09:48 PDT 2003


In message <20030413174853.F57816-100000 at grogged.dyndns.org>, matt writes:
>
>Quick question (please CC me, as I'm not on the list yet) -
>
>I have 4x files setup through the md device (md1, md2, md3, mde4), each of
>which I have init'd and attached gbde to (successfully), for md1.bde,
>md2.bde, etc...  I've used ccdconfig to make these 4 encrypted devices
>a concatenated disk (ccd0c), where upon I newfs'd /dev/ccd0c and
>successfully mounted it.

Ok, I just found and fixed one bad bug in ccd with respect to ENOMEM:
it would never return the I/O request in question.

You want to pull in version 1.133 of sys/dev/ccd/ccd.c

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at 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.


More information about the freebsd-current mailing list