[pacman-dev] [PATCH] Skip diskspace checking for symlinks and directories in all cases

Allan McRae allan at archlinux.org
Tue Feb 8 00:32:48 EST 2011

On 08/02/11 13:35, Dan McGee wrote:
> We did this in some but not all cases, assuming the 0 value coming out of
> libarchive would not be a problem. However, this does not work for "fake"
> filesystems such as rpc_pipefs, which reports a free block and total block
> count of zero.
> Fix this by not ever counting symlinks or directories, and adding a note
> explaining that if we someday do count directories, their size needs to be
> attributed to the proper place.
> Signed-off-by: Dan McGee<dan at archlinux.org>

Ack: Allan

I see there is some nice tidy up in there too.

More information about the pacman-dev mailing list