On 31/10/10 22:53, Allan McRae wrote:
The helper function _alpm_mount_list provides a relatively portable
interface to obtaining a list of mount pints on a system.  This will
be useful in checking for disk space availability when installing
packages.

Signed-off-by: Allan McRae<[email protected]>
---

I have not tested the HAVE_GETMNTINFO path as that requires BSD4.4, OSX or 
NetBSD 3.0.
However, it is taken from various example code on the internet so should work...


A slightly updated version following comments by Xavier is on my working branch (http://projects.archlinux.org/users/allan/pacman.git/log/?h=working).

Allan

Reply via email to