From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 16 21:55:42 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BA61065703 for ; Sat, 16 Apr 2011 21:55:42 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-da02.mx.aol.com (imr-da02.mx.aol.com [205.188.105.144]) by mx1.freebsd.org (Postfix) with ESMTP id 5B30C8FC14 for ; Sat, 16 Apr 2011 21:55:42 +0000 (UTC) Received: from imo-ma03.mx.aol.com (imo-ma03.mx.aol.com [64.12.78.138]) by imr-da02.mx.aol.com (8.14.1/8.14.1) with ESMTP id p3GLtexc010190 for ; Sat, 16 Apr 2011 17:55:40 -0400 Received: from dieterbsd@engineer.com by imo-ma03.mx.aol.com (mail_out_v42.9.) id n.def.139af619 (43976) for ; Sat, 16 Apr 2011 17:55:38 -0400 (EDT) Received: from smtprly-me03.mx.aol.com (smtprly-me03.mx.aol.com [64.12.95.104]) by cia-dd04.mx.aol.com (v129.9) with ESMTP id MAILCIADD041-b30f4daa105517e; Sat, 16 Apr 2011 17:55:38 -0400 Received: from web-mmc-d04 (web-mmc-d04.sim.aol.com [205.188.103.94]) by smtprly-me03.mx.aol.com (v129.9) with ESMTP id MAILSMTPRLYME037-b30f4daa105517e; Sat, 16 Apr 2011 17:55:33 -0400 To: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Sat, 16 Apr 2011 17:55:32 -0400 X-MB-Message-Source: WebUI X-AOL-IP: 67.206.161.196 X-MB-Message-Type: User MIME-Version: 1.0 From: dieterbsd@engineer.com Content-Type: text/plain; charset="us-ascii" X-Mailer: Mail.com Webmail 33540-STANDARD Received: from 67.206.161.196 by web-mmc-d04.sysops.aol.com (205.188.103.94) with HTTP (WebMailUI); Sat, 16 Apr 2011 17:55:32 -0400 Message-Id: <8CDCA9824BFE47E-176C-A720@web-mmc-d04.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Subject: Re: Add SUM sysctl X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 21:55:42 -0000 > once you reboot into SUM to install world, you are doomed, BECAUSE > ... > Kernel will bitch (GELI part), about world->kernel mismatch and you > won't be able to install world as you cant decrypt geom providers!! Suggestion 1: Install the new stuff into different disk partition(s), leaving the partition(s) you are currently running alone. Then if something doesn't work and the new installation doesn't boot you are not doomed, you can simply boot the previous partition(s) again. Suggestion 2: The kernel may not have an official flag for single vs multi user mode but you can fake it. Try something like "pgrep syslogd". If syslogd is running assume multiuser mode. If syslogd is not running assume single user mode.