On Fri, May 29, 2009 at 02:42:33AM +0300, Cem Kayali wrote:
> Thanks for 'clean' reply. This just looks -to me- it is a bit harder to 
> follow which port installs which config files, especially if it is 
> installed as dependency.

FWIW, if you want to know to which package a config file belongs,
you can use pkg_info(1). For example:

$ pkg_info -E /etc/mpd.conf
mpd-0.13.2p3        Music Player Daemon

But be aware that it's slow, because it has to scan all plists of
all installed packages. And it won't help for config files that are
*not* automatically copied to /etc by pkg_add(8) (i.e. no matching
@sample entry in the plist).

Ciao,
        Kili

Reply via email to