Date: Tue, 20 Feb 2001 03:37:05 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinum.c vinumconfig.c vinumhdr.h vinumvar.h Message-ID: <200102201137.f1KBb9E19547@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102201137.f1KBb9E19547>
