[pacman-dev] [PATCH] Add function to list mount points

Allan McRae allan at archlinux.org
Sun Oct 31 09:58:47 EDT 2010

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<allan at archlinux.org>
> ---
> 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 


More information about the pacman-dev mailing list