[pacman-dev] File/Path locations

Dan McGee dpmcgee at gmail.com
Tue Jun 19 18:03:14 EDT 2007


On 6/19/07, Andrew Fyfe <andrew at neptune-one.net> wrote:
> Dan McGee wrote:
> > On 6/4/07, Andrew Fyfe <andrew at neptune-one.net> wrote:
> >> Default behaviour for 'pacman --root'
> >> pacman --root /foobar
> >>         Root Dir  : /foobar
> >>         DB Path   : /foobar/$localstatedir/lib/pacman
> >>         Cache Dir : /foobar/$localstatedir/cache/pacman/pkg
> >>
> >>         Lock File : /foobar/$localstatedir/run/pacman.lck
> >>         Cfg File  : /foobar/$sysconfigdir/pacman.conf
> >
> > This is a reply to the whole email, but I wanted to highlight stuff
> > from above. This is no longer the case- I just eliminated this
> > behavior. Every path is independent of the others. ROOTDIR is
> > *completely* seperate now.
>
> Sorry this is still bugging me, having to type 'pacman -r ... -b ... -c
> ...' is a pain in the ass. 99% of the time when I'm using 'pacman -r' I
> want the same fs layout with a different root dir prefix. Am I the only
> one that uses 'pacman -r' like this most of the time.

I think so...why don't you just use a custom pacman.conf and put all
the paths in there?

pacman --config pacman.myconf

-Dan




More information about the pacman-dev mailing list