Thanks for Reply.
But Actually I want to open the HardDisk not to read Dir or File Actually I have to Read the Bytes from the HardDisk.
I have a function to do that but Actually It can not able to open the file. I have also used c function open("/dev/rdisk0",O_RDONLY) but it also not able to open the Drives.
It is showing that it has read write permission when I see from Getinfo in finder.
Actually I have tried on other system but it doesnot work.
It is working when I open a removable media but not in case of Hard disk.
Bookmarks