IOMedia Child instance and diskutil...
IOMedia Child instance and diskutil...
- Subject: IOMedia Child instance and diskutil...
- From: Kumar Gaurav <email@hidden>
- Date: Mon, 26 Aug 2013 20:32:11 +0530
Hi All,
I am utilizing Filter Scheme Kernel module using IOKit. The child media exist on "/dev/disk2s2s1" and is mounted and parent media "/dev/disk2s2". I have set property ("Writable" = No) of the disks (/dev/disk2s2 and /dev/disk2s2s1) to be read only. When i use "Disk Utilty" application i am unable to erase "/dev/disk2s2". But when i use "diskutil erasedisk" command it erases the disk. It seems it does not value the property in ioreg. What should i do so that "diskutil erasedisk" does not erase my parent media. Also, diskutil commands event is not received by the child media methods like stop, free. How to manage this?
Thanks, Kumar |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden