mount(..) example?
mount(..) example?
- Subject: mount(..) example?
- From: Luc Vandal <email@hidden>
- Date: Tue, 25 Oct 2005 10:07:43 -0400
I'm having a hard time with the mount(..) function. Would anyone post
an example so I know how to use it? Basically, I need to use this
function to update a currently mounted cd-rom. Here's the code I'm
currently using:
int nCdError = 0;
char options[] = "check=relaxed";
char* szErr;
nCdError = mount( "cd9660", "/dev/disk1s0", MNT_UPDATE, options );
I always get a "Bad file descriptor" error... I guess that there's
something missing but what?
Thanks!
Luc
_______________________________________________
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