From owner-cvs-all Fri Jan 17 6:53:55 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BEAB37B401; Fri, 17 Jan 2003 06:53:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF6F43EB2; Fri, 17 Jan 2003 06:53:54 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0HErsfh043861; Fri, 17 Jan 2003 06:53:54 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0HErrLA043860; Fri, 17 Jan 2003 06:53:53 -0800 (PST) Message-Id: <200301171453.h0HErrLA043860@repoman.freebsd.org> From: Poul-Henning Kamp 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-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message