FS#25684 - Enable CheckSpace by default in Pacman 4

Attached to Project: Pacman
Opened by Evangelos Foutras (foutrelis) - Saturday, 20 August 2011, 06:55 GMT
Last edited by Dan McGee (toofishes) - Thursday, 06 October 2011, 04:44 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version 4.0.0
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:

Now that checking for available disk space is a very fast operation in Pacman 4, it would be nice to have it enabled by default.

Going one step further, my suggestion is to remove the CheckSpace option altogether and unconditionally check whether there's enough disk space to proceed with the package(s) installation. Much like package integrity is checked unconditionally. :)
This task depends upon

Closed by  Dan McGee (toofishes)
Thursday, 06 October 2011, 04:44 GMT
Reason for closing:  Implemented
Comment by Dan McGee (toofishes) - Saturday, 20 August 2011, 15:09 GMT
I was actually thinking of doing this as well. I hesitate to enable it unconditionally though- there are still plenty of times when it could screw up.

More an Arch packaging issue than a pacman one, however.
Comment by Evangelos Foutras (foutrelis) - Sunday, 21 August 2011, 05:20 GMT
Screw up in what way? :)
Comment by trusktr (trusktr) - Sunday, 01 April 2012, 23:08 GMT
I strongly agree with having a disk space check enabled by default (but unconditional is not necessary having options is what's great about Linux). It was a nightmare fixing my system after it exploded when the root partition ran out of space. As a result, my pacman cache now resides in my home partition. I posted about how to recover from this scenario here: https://bbs.archlinux.org/viewtopic.php?id=107356. Is there a description somewhere of what the CheckSpace option does exactly?

Loading...