Module Name: src Committed By: dyoung Date: Tue Jan 12 21:08:09 UTC 2010
Modified Files: src/sys/conf: files src/sys/dev: cgd.c cgdvar.h Log Message: Make cgd(4) into a detachable pseudo-device. Thanks, Jan Danielsson, for the patches! I've lightly tested the basics: create cgd0 on vnd0d, initialize with zeros, newfs /dev/cgd0a, mount, copy files on, unmount, drvctl -d cgd0. Works fine. I also shutdown with a cgd0 configured: detached as expected. To generate a diff of this commit: cvs rdiff -u -r1.967 -r1.968 src/sys/conf/files cvs rdiff -u -r1.64 -r1.65 src/sys/dev/cgd.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/cgdvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.