From owner-cvs-all Tue Feb 4 2:32:42 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 ADBC637B401; Tue, 4 Feb 2003 02:32:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C58C43F75; Tue, 4 Feb 2003 02:32:41 -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 h14AWfbv048548; Tue, 4 Feb 2003 02:32:41 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h14AWf2H048544; Tue, 4 Feb 2003 02:32:41 -0800 (PST) Message-Id: <200302041032.h14AWf2H048544@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 4 Feb 2003 02:32:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom_disk.c src/sys/kern kern_conf.c src/sys/sys conf.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/02/04 02:32:41 PST Modified files: sys/geom geom_disk.c sys/kern kern_conf.c sys/sys conf.h Log: Pave the road to removing the fixed size limit on device nodes: Change the si_name of dev_t's to be a char * and put a private buffer for holding the name at then end of the struct. Initialize si_name to point to the private buffer. Put a KASSERT in geom_disk to prevent overrun on the fake dev_t we still have to generate for the disk_drivers. Revision Changes Path 1.43 +2 -0 src/sys/geom/geom_disk.c 1.119 +2 -0 src/sys/kern/kern_conf.c 1.158 +2 -1 src/sys/sys/conf.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message