On 05/10/2021 00:44, Peter Humphrey wrote:
On Tuesday, 5 October 2021 00:11:42 BST Neil Bothwick wrote:
When I checked it in the past
rm -fr /usr/src/linux-version
emerge -C gentoo-sources-version
was significantly faster than
emerge -C gentoo-sources-version
rm -fr /usr/src/linux-version
Yes, it would be. The first way, portage just scans the list of files and tries
to delete what isn't there; the second way it actually has to delete real
files.
I doubt that's the problem. After all, rm has to delete the files too.
I guess portage scans the files and looks up whether it can delete them
or not. If you've deleted them already, that step no longer happens ...
Cheers,
Wol