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 11-24-2007, 12:52 PM
Xavier
 
Default pacman/query.c : -Qo optimization.

On Sat, Nov 24, 2007 at 02:24:02PM +0100, Nagy Gabor wrote:
> > I didn't understand why realpath was called on every files of every filelist
> > in query_fileowner :
> > ppath = resolve_path(path);
> >
> > It turns out this is needed for the diverted files. For example, cddb_get
> > installs /usr/lib/perl5/site_perl/5.8.8/CDDB_get.pm which actually ends in
> > /usr/lib/perl5/site_perl/current/CDDB_get.pm .
>
> A real life example ;-): /opt directory can be a symlink for example.
>
> And an offtopic note here: iirc (<- cannot check now) you cannot search for
> owner of a directory symlink [/usr/var], because dir-symlinks are treated as
> dirs in files <- this may(?) lead to an other symlink puzzle: conflicting
> "symlinks" in target list. Xavier, could you check this please?
>

Not sure what you mean, but usr/var is owned by filesystem and show up as
usr/var in the filelist. So it's treated as a file and not a dir, right?
pacman -Ql filesystem | grep "usr/var"
filesystem /usr/var

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 05:07 PM.

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