Well, we were originally using getmntinfo, but our requirements have changed and we cannot rely solely on getmntinfo, mainly because we are not automounting our filesystems any more. Instead we mount them programmatically after possibly repartitioning them based on parameters supplied by the user during OOB. But this is ultimately getting too deep into our application. From what I gather it seems I will have to explicitly look at /dev/ad* to determine what volumes are defined and then use ioctl calls to get further information on these unmounted volumes. There doesn't seem to be any equivalent to getmntinfo for unmounted volumes.
|