Hi Ed,

I tried "devfsadm -v" as well as "devfsadm -C" but the pseudo device link
still remains there.

Thanks,
Ashwani

On Wed, Mar 31, 2010 at 7:04 AM, edward <[email protected]> wrote:

>  Ashwani Raina:
>
> 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.
>
> "devfsadm -v"  might tell you something.  You need root privilege to run
> the command.
>
>
> Thanks in advance.
>
> --
> ----
> ar
>
>
> _______________________________________________
> driver-discuss mailing 
> [email protected]http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>
>
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to