On 11/8/24 9:06 PM, Samuel Sieb wrote:
On 11/8/24 6:19 PM, home user via users wrote:
On 11/8/24 6:40 PM, Samuel Sieb wrote:
On 11/8/24 5:14 PM, home user via users wrote:
Tried this on /lib/modules/6.11.5-200.fc40.x86_64/.
Some files got listed (file names only) a huge number of times (multiple 40-line screens per file). These are (of course) owned by packages. I noticed kernel-modules-core-6.11.5-200.fc40.x86_64 to be listed an especially large number of times.
Why? Can this repetition be prevented?
I'm not sure what you mean. Each file should only get listed once. If you see otherwise, please show what you're seeing.
Most of the files are going to be owned by "kernel-modules-core" because that's what's there. There will likely be a few that are owned by kernel module subpackages for less common hardware.
What repetition are you wanting to prevent?
Doing this:
-bash.3[~]: find /lib/modules/6.11.5-200.fc40.x86_64/ -type f -print0 | xargs -0 rpm -qf > findout.txt
-bash.4[~]: ls -l findout.txt
-rw-r--r--. 1 root root 179205 Nov 8 19:12 findout.txt
-bash.5[~]:
and then using "view", the file findout.txt is 4437 lines long. List rules forbid attaching something that big. Shall I send that to you privately?
"wc -l findout.txt" will give you number of lines.
But that's about the expected number of files there. You're going to get a line for each file. What are you wanting instead?
hmmm...
Maybe some of that snow coming down outside is getting into my brain.
Could it be that I'm misunderstanding the output?
I thought that in the case of a file that IS owned by a package, rpm -qf was displaying the name of the owned file. So I was expecting a file name to appear once, not 2000+ times!
It's now occurring to me that in the case of a file that is owned by a package, it's listing the name of the owning package, not the name of the owned file. Am I correct?
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue