Aborting a build

Ade Lovett ade at FreeBSD.org
Sat Nov 26 15:39:20 EST 2005


On Nov 26, 2005, at 02:54 , Edwin Groothuis wrote:

> What could be the best way to abort a build?
>
> ^C-ing it at the wrong time has caused me my ports directory more
> than once now and ^Z and kill -9 %1 leaves a lock file...

ctrl-C should work just fine.  When I rebuilt the handling of the  
various nfs/nullfs mounts in HEAD, I did run across a number of cases  
where filesystems would be left mounted, with potentially disastrous  
results when various rm -rf's did their job.

kill -9 is going to do a lot more than leave a lockfile around -- it  
*will* also leave filesystems mounted which could quite easily get  
wiped out (either via rm or double-mounting) on further runs.

-aDe



More information about the tinderbox-list mailing list