Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Lint files by gentoo packages

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
Roman_Gruber
Advocate
Advocate
Posts: 3854
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

Lint files by gentoo packages

  • Quote

Post by Roman_Gruber » Tue Jan 27, 2026 11:30 am

How comes gentoo packges do not cleanup this folder

Code: Select all

roman@Wheat_Nas /var/cache $ ls -alh
total 0
drwxr-xr-x 5 root root 100 Jan 27 12:21 .
drwxr-xr-x 1 root root  96 Jan 27 00:20 ..
drwxr-xr-x 2 man  man   40 Jan 27 12:21 man
drwxr-xr-x 3 root root  60 Jan 27 12:21 rc
drwx------ 2 root root  40 Jan 27 12:21 revdep-rebuild
52Mib are 52Mib that is much more as my boot files and half the size for my usb pendrive which i still use for my uefi firmware updates and backups!



How comes empty folders are created with genkernel initfamfs + openrc

man and revdep rebuild should not be created.

This folder should be delted by the system itself, contains 52 mib lint which i backuped for quite a while.

/var/db/repos in my point of view a bad spot. I realised a few hours ago, I made a mistake migrating to /var/db and not leaving it in /usr/portage

I put it wiht a bind mount on another drive those repositories.

After 20 years of gentoo I am back in reading FHS and determining what is lint and was is not. For a few weeks i added a lot of /var subfolders to tmpfs because they are lint.

The driving force is to reduce my backups as 92Gib of data have to come somewhere when i had for ages only 50Gib for everything. There is lots of lint these days which never gets deleted and pulled since the SYSTEMD days. The main issue is, coders not able to read FHS and not using /var/tmp as it should be!
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Tue Jan 27, 2026 11:56 am

Well, Gentoo doesn't follow FHS and never has. We've always taken inspiration from it though. Other distros are generally doing the same. FHS is also dead though there's some talk of reviving it.

I'm not sure what the issue with man and revdep-rebuild here is, but they're under /var/cache? I think tmpfiles manages them?
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Tue Jan 27, 2026 10:36 pm

sam_ wrote:I'm not sure what the issue with man and revdep-rebuild here is, but they're under /var/cache? I think tmpfiles manages them?
There's certainly an entry for /var/cache in /usr/lib/tmpfiles.d/var.conf:

Code: Select all

d /var/cache 0755 - - -
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic