Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open() BSD call fails on Mac OS Tiger??



Hi
How can I give the permissions to raw read the hard disk. I login the system as system administrator.


What should I have to do?

Thanks and Regards


From: Finlay Dobbie <email@hidden>
To: darpan kamboj <email@hidden>
CC: email@hidden
Subject: Re: open() BSD call fails on Mac OS Tiger??
Date: Tue, 18 Oct 2005 13:46:15 +0100

On 18/10/05, darpan kamboj <email@hidden> wrote:
> I had developed an application on Mac Os 10.3.3.
> I am using fileDescriptor = open ( "/dev/rdisk0", O_RDONLY ); BSD Calls to
> open the hard disk for raw reading and now I am testing same application on
> Mac OS Tiger then I am unable to open the hard disk.
> What should I have to do to solve this problem.


Check errno to see what the error is. It's probably that you don't
have the permission to do that.

-- Finlay

_________________________________________________________________
A Camera Sells every 2 Minutes on eBay.Get Your's at a Great Price Now! http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-699?ck=Cameras


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: open() BSD call fails on Mac OS Tiger?? (From: Finlay Dobbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.