Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 12:32:58 -0500 (EST)
From:      Sam <sah@softcardsystems.com>
To:        freebsd-arch@freebsd.org
Subject:   disk_create and cdevsw_add
Message-ID:  <Pine.LNX.4.60.0409011215400.13505@athena>

next in thread | raw e-mail | index | archive | help
'lo again,

kern/subr_disk.c:/^disk_create/ takes
two cdevsw types, and I only vaguely
understand why.  Can someone explain it to me?

I'm generally confused about resolving
entry points into the driver.  Does a
block device only get an open() after
registering it with disk_create?
Supposing I want to set some ioctls for
an aoecontrol utility (show all devices
known, eg), what would aoecontrol open
to ioctl?

Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.60.0409011215400.13505>