On 2021/11/30 8:14, Stuart Henderson wrote: > On 2021-11-29, Amit Kulkarni <amit.o...@gmail.com> wrote: > > On Sun, Nov 28, 2021 at 5:17 PM Alexander <xan....@posteo.org> wrote: > >> Just to gauge what to expect from this and whether I did this wrong: > >> After configuring /etc/sysclean.ignore I get 3382 files of which 3274 > >> are in /usr/X11R6/lib/X11/fonts/. Are numbers this large to be expected? > > > > 3382 files is too large. > > That seems about right for the removed font variants to me. You can't > judge by the number of files, only the filenames. > > *If* you don't compile your own software from outside ports/packages, the > files under /usr listed in sysclean's default output (no -a flag) is good. > I do review manually before rm'ing but I have *never* had it suggesT > removing something under /usr that is required. Files outside /usr > need more care. > This is probably a stupid question but how do you review them manually? I have a couple files that are manpages, that's easy. signify-keys, too. There is some sgi stuff, also easy, retirement is known. Same goes for switchd-related things. But what about the rest? Assuming you don't just know everything about those files already, do you find(1)/grep(1) through the source tree and commit messages or is there a different way?
Best regards, Alexander