[Slackbuilds-users] always run `mandb -c` after installing/removing manpages?
Jim
zsd+slackbuilds at jdvb.ca
Mon Aug 12 12:12:33 UTC 2024
On Mon, Aug 12, 2024 at 05:30 (-0400), B. Watson wrote:
> On Mon, 12 Aug 2024, Arkadiusz Drabczyk wrote:
>> I ran it as root of course, it wouldn't work on /usr/man/man1 if I
>> didn't since it is writable only by root.
> I meant, are you sure when you timed it and got 10 seconds, that you
> were actually using the -c option? I get pretty close to 10 seconds
> when I time it *without* -c. If you really get "mandb -c" to run in
> only 10 seconds, that's 60x as fast as it does for me, and I want to
> know how (so I can make it run that fast for me, too).
Just as another data point, on a laptop running S64-15.0 with a Ryzen 4700U
and a Samsung MZVLB1T0HBLR-000H1 "disk", running
time mandb -c
I got
mandb -c 253.46s user 397.39s system 134% cpu 8:02.15 total
So yeah, 10 seconds would be pretty impressive.
Jim
More information about the SlackBuilds-users
mailing list