From owner-cvs-all Tue Feb 20 3:37:13 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6BD9B37B503; Tue, 20 Feb 2001 03:37:09 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1KBb9E19547; Tue, 20 Feb 2001 03:37:09 -0800 (PST) (envelope-from alfred) Message-Id: <200102201137.f1KBb9E19547@freefall.freebsd.org> From: Alfred Perlstein Date: Tue, 20 Feb 2001 03:37:05 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinum.c vinumconfig.c vinumhdr.h vinumvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alfred 2001/02/20 03:37:05 PST Modified files: sys/dev/vinum vinum.c vinumconfig.c vinumhdr.h vinumvar.h Log: Take a shot at making vinum devfs aware. Adding make_dev() and destroy_dev() calls in (hopefully) the right places. This is done by calling make_dev() in each object constructor and caching the dev_t's returned from make_dev() in each struct 'subdisk'(sd), 'plex' and 'volume' such that the 'object'_free() functioncs can call destroy dev. This change makes a subset of the old /dev/vinum appear under devfs. Enough nodes appear such that I'm able to mount my striped volume. There may be more work needed to get vinum configuration working properly. Revision Changes Path 1.40 +29 -8 src/sys/dev/vinum/vinum.c 1.39 +24 -11 src/sys/dev/vinum/vinumconfig.c 1.23 +2 -1 src/sys/dev/vinum/vinumhdr.h 1.37 +5 -2 src/sys/dev/vinum/vinumvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message