[pacman-dev] RootDir using symlinks -> problem

Dan McGee dpmcgee at gmail.com
Sat Sep 29 17:09:46 EDT 2007


On 9/29/07, Xavier <shiningxc at gmail.com> wrote:
> 2007/9/29, Xavier <shiningxc at gmail.com>:
> >
> > Running pacman -v with this config gives the following :
> > Root      : /data/share/devel/pacman/pacman/foo/
> > DB Path   : /home/xav/pacman/pacman/foo/var/lib/pacman/
> >
>
> That's because the alpm_option_set_root function in libalpm/trans.c
> calls realpath.
> So should realpath be called for the other paths as well? At least for db path?

We should definitely be consistent across the board with these path resolvers.

Are there any disadvantages to always using realpath?

-Dan




More information about the pacman-dev mailing list