[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How can i find files not controlled by rpm?
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: How can i find files not controlled by rpm?
- Date: Mon, 29 May 2006 02:14:23 +0200
On Sun, May 28, 2006 at 07:55:28PM -0400, Tom Hicks wrote:
> I've built an LFS system and I've installed rpm. I've created packages for
> almost everything I have installed. Can anyone tell me an easy way to find
> all the files on the system that rpm does not control.
>
> I want to create a set of rpms that I can install via rpm --root to install
> a complete system.
>
> If there isn't an easy way I'll take a hard one too I just can't come up
> with anything else than installing them to another folder and doing a diff
> but I believe parsing through the diff output would be a bitch.
The list of *owned* files can be obtained with rpm -qal.
One can query every file in the filesystem (like rpm -qf)
and grep what is not owned, but it will be much more
resource intensive than the former.
Of course, owns and controls are two different things --
symlinks in /etc/rc.d are not owned by any package but they
are still controlled by them (through scriptlets). I doubt
these can be filtered automatically.
Yeti
--
Anonyms eat their boogers.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]