<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Out of space warning ..."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=60909#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Out of space warning ..."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=60909">bug 60909</a>
from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
<pre>In include/osl/file.hxx, there's already osl::Directory::getVolumeInfo and
osl::VolumeInfo::getFreeSpace. While getVolumeInfo's ustrDirectoryURL
parameter is documented as "Full qualified URL of the volume", the statfs-based
implementation in sal/osl/unx/file_volume.cxx will apparently accept any path
into a mounted filesystem, and the Windows implementation in
sal/osl/w32/file_dirvol.cxx explicitly does some path_travel_to_volume_root, so
it should work in practice to pass an arbitrary path into a "volume", not just
a path to a "volume root".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>