https://bugs.freedesktop.org/show_bug.cgi?id=40607

--- Comment #16 from Tristan Schmelcher 
<[email protected]> 2012-01-14 16:25:18 PST ---
Actually on second thought there is a simpler and more robust approach, just
run realpath() on the document file and then scan /etc/mtab for the longest
mount point that is a prefix of the document's path. That way tmpfs and such
can be detected correctly. That appears to be how df works.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to