site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Luc Vandal