From owner-freebsd-current@FreeBSD.ORG Tue Jan 11 21:47:07 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E81C106566C for ; Tue, 11 Jan 2011 21:47:07 +0000 (UTC) (envelope-from groberts@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 657328FC1D for ; Tue, 11 Jan 2011 21:47:07 +0000 (UTC) Received: by iyb26 with SMTP id 26so19952370iyb.13 for ; Tue, 11 Jan 2011 13:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=V2swTvyxBTrvWDMjXhuu4OexhhKghsvsgaM8JnKQHlQ=; b=xbevzA7GmBp7U3AgL8LM4Ttj8XdjO6wguXEgQ5e0jh44oACaMcJWouQsr0QaX0lJ4i Phnp8U878WA7pVI7yMtYVTPHkSZN+/C97k795rnHALt/1W2ejqDGuTdImEwPbQzdfsXz 4E4tLSQgTdI5ghyh7NB4BQVaZkhYDWnw1p8j4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=tpowgNI3euIB5iZSZjdISJGjGUvPluszKyGXKdLgbXJ+B5UPGSeSSi+Hfkv/2G6byb Fme5BPjyOVWlqrPnniudEvsw7504d9KJjsVKeL7ezwqbM/i84kiw/XqP0hOKFXElzNBd IMvIKWCJi6Oy/MGDZYB0OjI2MzxnmMHI9z/fw= Received: by 10.231.14.139 with SMTP id g11mr152929iba.51.1294780720919; Tue, 11 Jan 2011 13:18:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.23.135 with HTTP; Tue, 11 Jan 2011 13:10:20 -0800 (PST) In-Reply-To: References: From: Greg Roberts Date: Tue, 11 Jan 2011 16:10:20 -0500 Message-ID: To: David DEMELIER Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: why panic(9) ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 21:47:07 -0000 On Tue, Jan 11, 2011 at 15:11, David DEMELIER wrote: > Hello, > > I'm just guessing why current BSD panic() when a problem occurs, all > modern operating systems solve the problem instead of crashing > suddently and corrupting all your data without saving your work. > > Yes, why this function exists? There is no way to solve a problem > without panic'ing? Is panic really needed? Imagine someone working on > something really important and his computer just panic, his work not > saved everybody shout at him in the corporation. He lose his job, his > wife, his dog, everything is wrong, just because of a panic() ! > This feature ensures we have country music hits for the life of the operating system. Greg