disk_create and cdevsw_add
Sam
sah at softcardsystems.com
Wed Sep 1 09:33:10 PDT 2004
'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
More information about the freebsd-arch
mailing list