Thomas Adam wrote:
On Tue, Aug 24, 2004 at 09:24:45AM -0400, Carl Fink wrote:On Tue, Aug 24, 2004 at 01:54:41PM +0100, Thomas Adam wrote:On Tue, Aug 24, 2004 at 08:49:57AM -0400, Jason Rennie wrote:dpkg -S | --search filename-search-pattern ... Search for a filename from installed packages.How is this unclear, exactly?It doesn't say, "Search for a filename THAT IS CONTAINED WITHIN an installed package." Why wouldn't the above include programmatically-generated configuration files? They're "from" the package.They're not "from" any package -- they're created by programs that are themselves from packages. But how on Earth can you keep information as to programs that created files? It's a stupid and pointless exercise. Please see my other posts as to the explanations why.
Seems to me the idea of creating configuration files on the fly is broken. I much prefer this:
# to list configuration files summer@linux:~> rpm -qc glibc-2.3.2-120 /etc/nscd.conf /etc/rpc #to find what owns a configuration file: summer@linux:~> rpm -qf /etc/defaultdomain netcfg-9.0-7 summer@linux:~> To find what documentation might pertain to the configuration file: summer@linux:~> rpm -qdf /etc/defaultdomain summer@linux:~> Bad example, there is none in that package. This is better: summer@linux:~> rpm -qf /usr/share/man/man8/rpcinfo.8.gz glibc-2.3.2-120 summer@linux:~> rpm -qfd /usr/share/man/man8/rpcinfo.8.gz /usr/share/doc/packages/glibc/LICENSES /usr/share/man/man1/getconf.1.gz /usr/share/man/man1/getent.1.gz /usr/share/man/man1/glibcbug.1.gz /usr/share/man/man1/iconv.1.gz /usr/share/man/man1/ldd.1.gz /usr/share/man/man1/locale.1.gz /usr/share/man/man1/localedef.1.gz /usr/share/man/man5/locale.alias.5.gz /usr/share/man/man5/nscd.conf.5.gz /usr/share/man/man8/ldconfig.8.gz /usr/share/man/man8/nscd.8.gz /usr/share/man/man8/nscd_nischeck.8.gz /usr/share/man/man8/rpcinfo.8.gz summer@linux:~> The above is on SuSE.In contrast, my Debian system has /etc/defaultdomain but no man page: SuSE's man page is in another package.
I would expect every file in /etc on the SuSE (or a Red Hat) system to be owned by a package, unless I created it.
-- Cheers John -- spambait 1aaaaaaa@computerdatasafe.com.au Z1aaaaaaa@computerdatasafe.com.au Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/