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"
pacman-dev mailing list
|All times are GMT. The time now is 09:45 AM.|
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.