
13 Jul
2010
13 Jul
'10
6:37 p.m.
I don't think that basic_path should have a member to get the mount path, because that's context-dependent. I feel that anything which looks at the filesystem should be in a non-member function. Can mount path be done more efficiently than just iterating through the known mount points?
On Windows, I think that the `GetVolumePathName` function (http://msdn.microsoft.com/en-us/library/aa364996.aspx) can be used to obtain the mount path without iterating over all, current mount points. I don't know about Linux, though. Linux might be tricky because a running program might be `chroot`ed.