From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I find all "orphaned" files?
Date: Fri, 25 Mar 2011 01:33:38 -0500 [thread overview]
Message-ID: <4D8C3742.30301@gmail.com> (raw)
In-Reply-To: <20110324231045.29883942@digimed.co.uk>
Neil Bothwick wrote:
> On Thu, 24 Mar 2011 22:09:27 +0100, Jarry wrote:
>
>
>> I know, there is "qfile" with "-o" option, but its syntax is
>> not clear to me. I tried "qfile -o *" but that is apparently
>> not the correct syntax, as all I got were a few top-level
>> subdirectories and nothing more...
>>
> qfile operates on the files you give it, it doesn't recurse into
> directories.
>
> Try find / -xdev -type f -exec qfile -o {} +
>
>
>
Naturally this returned a lot so we have to use common sense before
deleting something. That said, what about these:
/usr/bin/cc
/usr/bin/c++
/usr/bin/c89
/usr/bin/gcc
/usr/bin/gcov
/usr/bin/x86_64-pc-linux-gnu-c++
/usr/bin/python-config
A whole bunch of files in:
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.4.5/32/*
/usr/lib64/python2.6/*
Just to name a few. Naturally there are files in /root and a lot of
files that I created that also show up. Some of the files above, they
just about have to belong to something tho. I used qfile to test and it
says they don't so your command is working fine. I'm pretty sure tho
that python-config and gcc belong to their respective packages.
Question is, why does qfile think they don't?
This is the ones I tested:
root@fireball / # qfile /usr/bin/c++
root@fireball / # qfile /usr/bin/c89
root@fireball / # qfile /usr/bin/gcc
root@fireball / # qfile /usr/bin/gcov
root@fireball / # qfile /usr/bin/x86_64-pc-linux-gnu-c++
root@fireball / # qfile /usr/bin/python-config
root@fireball / # qfile /usr/lib64/gcc/x86_64-pc-linux-gnu/4.4.5/32/
root@fireball / # qfile
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.4.5/32/crtbeginS.o
root@fireball / # qfile /usr/lib64/python2.6/binhex.pyo
root@fireball / #
Is qfile wrong? The equery command said the same as qfile so this is
confusing.
Dale
:-) :-)
P. S. Nope, I'm not deleting those. ;-)
next prev parent reply other threads:[~2011-03-25 6:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 21:09 [gentoo-user] How can I find all "orphaned" files? Jarry
2011-03-24 23:10 ` Neil Bothwick
2011-03-25 6:33 ` Dale [this message]
2011-03-25 9:22 ` Neil Bothwick
2011-03-25 9:33 ` Dale
2011-03-25 9:47 ` Neil Bothwick
2011-03-25 14:27 ` Mike Edenfield
2011-03-25 16:31 ` Dale
2011-03-25 9:09 ` Mr. Jarry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D8C3742.30301@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox