[CentOS] How to query the package owning the file? (no packahe manger installed)

Fri Jul 15 12:05:24 UTC 2005
Prasad Pillarisetti <prasad.pillarisetti at gmail.com>

Guys recently I had this question asked in a technical interview.
 How do I find out the package owning a particular file, when no package 
managers are installed?
 I am assuimg SRPMs are used to install the software?
 Is this actually possible? Install the Linux OS without a package manager?
 I know "rpm -qf filename" gives the package owning the file.
But how to get the package name when I don't have any package manager?
 Maybe this was a question to rattle me?

-- 
Prasad Pillarisetti
"If everything is coming your way, then you are in the wrong lane"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20050715/7735cf61/attachment-0004.html>