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:It doesn't say, "Search for a filename THAT IS CONTAINED WITHIN an
dpkg -S | --search filename-search-pattern ...How is this unclear, exactly?
Search for a filename from installed packages.
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
[EMAIL PROTECTED]:~> rpm -qc glibc-2.3.2-120
/etc/nscd.conf
/etc/rpc
#to find what owns a configuration file: [EMAIL PROTECTED]:~> rpm -qf /etc/defaultdomain netcfg-9.0-7 [EMAIL PROTECTED]:~>
To find what documentation might pertain to the configuration file: [EMAIL PROTECTED]:~> rpm -qdf /etc/defaultdomain [EMAIL PROTECTED]:~>
Bad example, there is none in that package.
This is better: [EMAIL PROTECTED]:~> rpm -qf /usr/share/man/man8/rpcinfo.8.gz glibc-2.3.2-120 [EMAIL PROTECTED]:~> 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 [EMAIL PROTECTED]:~>
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 [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]