On Sat, Jan 29, 2005 at 12:55:41PM -0400, Patrick Boutilier wrote: > Date: Sat, 29 Jan 2005 12:55:41 -0400 > From: Patrick Boutilier <boutilpj@xxxxxxxxxxx> > To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> > Subject: Re: What is 'Red Hat nash' in the boot sequence ??? (rpm comment) > Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> > > Nifty Hat Mitch wrote: > > > > > $ locate nash > > /usr/share/man/man8/nash.8.gz > > /sbin/nash > > $ rpm -q --whatprovides /sbin/nash > > mkinitrd-3.5.22-1 > > > > I have noticed that a lot of people use rpm -q --whatprovides <file> to > figure out RPM a file belongs to. But isn't rpm -qf <file> more correct? > (and quicker to type as well :-) ) > > > rpm --help > > -f, --file query/verify package(s) owning file > > > --whatprovides query/verify the package(s) which provide a dependency Well I guess the first point is that I was mixing two styles of flags. The more verbose flags are interesting and I suspect prefered. rpm --query --whatprovides /sbin/nash rpm --query --file /sbin/nash or rpm -qf /sbin/nash The second is that I don't exactly know the difference between --file and --whatprovides yet. Good catch. I have some homework to do unless someone knows the specifics. -- T o m M i t c h e l l spam unwanted email. SPAM, good eats, and a trademark of Hormel Foods.