How to mount an hsf volume from C

Joined
Dec 1, 2010
Messages
1
Reaction score
0
Points
1
I get an errno 14 (Bad Address) on

mount("hfs", "/Volumes/USB", 0, "/dev/disk5s2")​

The shell command "mount -t hfs /dev/disk5s2 /Volumes/USB" works fine.

Any idea what I might be missing?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top