[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: [PATCH] dpkg-query: --listfiles without package lists all files



Hi,

I'm new here and catching up with the email archive.

>https://lists.debian.org/debian-dpkg/2022/10/msg00016.html
>Linking against static libdpkg >= 1.21.10
ACK, thank you very much

>> Jochen Sprickerhof <jspricke@debian.org>
> I'm trying to build something similar to the cruft(-ng)
> package to find non package files. Would that be a feature for dpkg?
> Cheers Jochen

I realized today cruft(-ng) could be the solution for some space constraints
we are facing right now at work.

Not the actual cruft/cruft-ng CLI, I mean, but something else built
on the same engine/library with result data processed differently.

We basically want to assign each file of our proprietary
/DATA & /LOG partitions to a package like "dpkg -S" would do
and basically have the usage piechart to see where to act
(the whole SSD is 16Gb :-| )

I will quickly whip a working dh_cruft, that ships "debian/cruft" to
/usr/lib/cruft/filters-unex/[binary package] API directory and rebuild
our packages;
and some binary that call the right functions to get this result
but the end goal is that the most of it could be upstreamable and reusable.

So if you already have some code or description of what you
want to do it's welcome.

Greetings,


Reply to: