Hi all, I have been trying to implement a driver which does much similar things to what lofi does. Here is what I do in the my code:
1. During attach, I create a control node which creates a character device. 2. Firing an ioctl on the same device will create a block devices (using same dip as in step 1 as done in lofi). 3. Using ioctl again, when I try to delete the minor node (using ddi_remove_minor_node) created in step 2, the node does not get deleted actually. I checked the global ddi_minor_data list which removed the same minor node from it. Node is no more present in the list but is present in /devices/pseudo/ path. I don't know what's wrong here. Thanks in advance. -- ---- ar
_______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss