Is it safe to interrupt (Ctrl + C) while building a port or kernel?

Damien Fleuriot ml at my.gd
Thu Nov 3 17:29:13 UTC 2011



On 11/3/11 6:20 PM, Robert Bonomi wrote:
>> From owner-freebsd-questions at freebsd.org  Thu Nov  3 12:10:08 2011
>> From: =?koi8-r?B?4c7Uz84g68zF09M=?= <rc5hack at yandex.ru>
>> To: freebsd-questions at freebsd.org
>> Date: Thu, 03 Nov 2011 21:10:19 +0400
>> Subject: Is it safe to interrupt (Ctrl + C) while building a port or kernel?
>>
>> Sometimes, while building process of some port or system kernel are in progress, you suddenly remember that you did something wrong and have to stop, solve your mistake and start one more time.
>>
>> Is it clear to interrupt the building process just by pressing Ctrl + <C>?
> 
> Yes.
> 
>> If it's so, do I need to run "make clean" before I start "make" one more time?
> 
> Authoritative answer:  "It depends".
> 
> On what you 'did wrong", and what it takes to fix it.
> 
> e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
> make depend, cd , make',  and realize you left something out of the config
> file, after you edit the config file, you have to rerun _all_ those steps.
> 

Is it even advisable to build the kernel the "old" way ?

I feel safer with "cd /usr/src && make buildkernel"


More information about the freebsd-questions mailing list