[Mono-dev] Help needed with UnixDriveInfo

Arnhoffer Károly karnhoffer at ecron.hu
Wed May 24 04:56:00 EDT 2006


Hi,

I would like to try UnixDriveInfo but I can not know how to start. As I can see to construct a UnixDriveInfo object I have to give a mount point. How can I get the mount point part of a path? 

For example I have a different partition (and different mount points) for / and an other for /home but my application may not know anything about it. My application gets the path /home/pulcsi/Documents and it has to deceide what the mount point here is to give it to UnixDriveInfo constructor. How should it do it?

Thaks!

Károly



More information about the Mono-devel-list mailing list