[pacman-dev] [PATCH] pacman/query.c : -Qo optimization.
shiningxc at gmail.com
Sat Nov 24 08:52:36 EST 2007
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"
More information about the pacman-dev