Date: Fri, 17 Jan 2003 15:58:07 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: current@freebsd.org Subject: HEADSUP: CCD(4) changes. Message-ID: <9314.1042815487@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
I have started chipping away at GEOMification of CCD. For obscure technical reasons, I need to get the configuration ioctl for CCD "out of band" instead of "in band". This commit does that. Old and new kernels worl with both old and new ccdconfig(8) binaries, but there will be whinage and 30 seconds sleeps if they are not in sync as an incentive for people to upgrade. Poul-Henning ------- Forwarded Message From: Poul-Henning Kamp <phk@FreeBSD.org> Date: Fri, 17 Jan 2003 06:53:53 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ccd ccd.c src/sbin/ccdconfig ccdconfig.c pathnames.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-committers@FreeBSD.org Precedence: bulk phk 2003/01/17 06:53:53 PST Modified files: sys/dev/ccd ccd.c sbin/ccdconfig ccdconfig.c pathnames.h Log: Find places to store the previously implicityly passed unit number in the three configuration ioctls which need a unit number. Add a "ccd.ctl" device for config operations. Implement ioctls on ccd.ctl which rely on the explicityly passed unit numbers. Update ccdconfig to use the new ccd.ctl interface. Add code to the kernel to detect old ccdconfig binaries, and whine about it. Add code to ccdconfig to detect old kernels, and whine about it. These two compatibility measures will be retained only for a limited period since they are in the way of GEOM'ification of ccd. Revision Changes Path 1.26 +18 -18 src/sbin/ccdconfig/ccdconfig.c 1.2 +3 -0 src/sbin/ccdconfig/pathnames.h 1.114 +122 -7 src/sys/dev/ccd/ccd.c ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9314.1042815487>