View Single Post
Old 14th July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by PeterSteele View Post
There doesn't seem to be any equivalent to getmntinfo for unmounted volumes.
Mounted partitions have had to meet the requirements of a recognized filesystem & communication occurs along known paths. To communicate to physically attached, yet unmounted, devices means that you will have to devise a communication path including sophisticated error handling which will duplicate significant portions of the established filesystem. In other words, it will be easier to simply mount the drives in question.

It may be that you have valid reasons for not mounting what you want to query, but by going this route, you are taking on a lot of responsibility. The complexity of your application is now magnitudes more complicated.
Reply With Quote