25 октября 2016 г., 23:57 пользователь Alexander Sheiko
<[email protected]> написал:
>
>
> В письме от Втр, 25 Окт 2016, 23:33 Eugene Grosbein пишет:
>
> > А кроме того, оно жутко тормозное - такое ощущение, что пересобрать
> > быстрее.
>
> Да ну, не считая редактирования объединённых конфигов всё заняло минут 15.
> По сравнению с пересборкой мира...
root@cs0:/usr/src# time make -j 26 buildworld > /dev/null
8812.186u 1515.374s 10:12.09 1687.2%    30363+507k 562875+0io 7730pf+0w
root@cs0:/usr/src#
Да, по сравнению с пересборкой - на треть дольше. Пожалуй, пора
выбросить калькуляторы и поставить современное железо. Или начать
использовать многопоточную сборку. Или и то, и другое.

> И есть возможность потом сделать откат...
Такая возможность и в случае сборки сырцов есть. Правда, для этого
нужно уметь читать:
https://www.freebsd.org/doc/handbook/makeworld.html
Before rebuilding world, be sure to perform the following tasks:
Procedure 23.1. Perform These Tasks Before Building World
Backup all important data to another system or removable media, verify
the integrity of the backup, and have a bootable installation media at
hand. It cannot be stressed enough how important it is to make a
backup of the system before rebuilding the system. While rebuilding
world is an easy task, there will inevitably be times when mistakes in
the source tree render the system unbootable. You will probably never
have to use the backup, but it is better to be safe than sorry!

Ответить