[pacman-dev] [PATCH] pacman/query.c : -Qo optimization.

Xavier shiningxc at gmail.com
Sat Nov 24 14:45:22 EST 2007

On Sat, Nov 24, 2007 at 02:59:05PM +0100, Nagy Gabor wrote:
> > 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
> [*] Fine.
> First I meant "pacman -Qo /usr/var", when I tried last time, "I got cannot
> determine ownership of a directory" <- if this still exists, we can fix with the
> help of [*].

Hm, I don't understand your [*] thing.
But pacman -Qo simply stats the file (so if it's a symlink, it resolves
it), and if it is a directory, it simply stops.
That's because directories are usually owned by multiple packages, and -Qo is
maybe supposed to return just one package.

More information about the pacman-dev mailing list