[pacman-dev] Checking free space before transaction

Eric Bélanger snowmaniscool at gmail.com
Wed Nov 10 20:16:11 CET 2010


On Tue, Nov 9, 2010 at 10:47 PM, Allan McRae <allan at archlinux.org> wrote:
> Hi,
>
> I have implemented some basic disk space checking in pacman.  The code is
> still a bit rough and there are some TODOs in there (especially related to
> output).  But the basics are all there, so it seems time to get some
> comments.
>

I only glanced at the code so this might not be relevant.

-Does it work if you have other partitions like /usr, /var , etc... ?

-I like the idea of putting option in pacman.conf. If someone has an
exotic partitionning scheme that makes pacman unable to calculate the
actual disk space, then they can disable the disk space checking.

-If you haven't done it: Checking the DBPath partition to see if it
has  enough space to put the db entries.


More information about the pacman-dev mailing list