It doesn't directly support this, and I have deliberately avoided to add too much functionality which depends on OS-specific code.
But it works on Linux because the device can be opened as a file...
It would also (probably) work on OS X for the same reason, except that OS X does not return a file size for the device (I checked this when another OS X user asked the same question). It may work by simply #ifdef'ing in a couple of OS X ioctls to get the size of the device when trying to open the hard drive device as a file.
|