Date: Wed, 16 Apr 2003 08:01:00 +0200 From: Mark Santcroos <marks@ripe.net> To: phk@freebsd.org Cc: hackers@freebsd.org Subject: ioctl's in md Message-ID: <20030416060100.GA1048@laptop.6bone.nl>
next in thread | raw e-mail | index | archive | help
Hi Poul-Henning, Now that md is geomized [is that the correct term ;)], how can I add an ioctl handler for a created md device? As there isn't simply a make_dev(), and I have to go through the geom system, I wonder if it is possible at all. The reason for this is that I want to make a CDROM type, similar to the VNODE type, but that handles cdrom ioctl's. (Which is necesarry to make vmware2 boot from a "cdrom"). Mark ps. I tried to find the answer in sys/dev/ata/, there I saw that only atapi-cd and atapi-tape do make_dev()'s. Is that because they need ioctl's or is that totally unrelated? -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030416060100.GA1048>