FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 02-08-2011, 05:44 AM
Dan McGee
Default Skip diskspace checking for symlinks and directories in all cases

On Monday, February 7, 2011, Allan McRae <allan@archlinux.org> wrote:
> 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@archlinux.org>
> Ack: Allan
> I see there is some nice tidy up in there too.

Sí. I forgot to include that in the commit message here, I'll do that
in the final thing. Most of it just results in fewer strlen and
snprintf calls.


Thread Tools

All times are GMT. The time now is 09:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org