From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 16 14:44:31 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 D60FB1065670 for ; Sat, 16 Apr 2011 14:44:31 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (unknown [IPv6:2001:44b8:7c07:5581:266:e1ff:fe0c:8f16]) by mx1.freebsd.org (Postfix) with ESMTP id 82A7E8FC13 for ; Sat, 16 Apr 2011 14:44:30 +0000 (UTC) Received: from [192.168.42.215] (maarsy.rocketrange.no [128.39.153.30]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p3GEiLiP051593 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 17 Apr 2011 00:14:25 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <20110416.142444.546.5@DEV> Date: Sat, 16 Apr 2011 16:44:20 +0200 Content-Transfer-Encoding: 7bit Message-Id: <97731093-4056-4D26-8D4E-4BE077B45610@gsoft.com.au> References: <20110415.150349.671.1@DEV> <22B12EE4-AE7B-49F7-B6BA-3FE7F967F508@gsoft.com.au> <20110415.154921.875.2@DEV> <20110415.171211.343.3@DEV> <6F20BB76-0D6A-4AB5-99DF-15954D8C2C9D@gsoft.com.au> <20110416.111455.390.4@DEV> <20110416.142444.546.5@DEV> To: rank1seeker@gmail.com X-Mailer: Apple Mail (2.1084) X-Spam-Score: -1.5 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-hackers@freebsd.org 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 14:44:31 -0000 On 16/04/2011, at 16:24, rank1seeker@gmail.com wrote: >> >> In that case you don't need to reboot into single user mode, you just > make sure there aren't any non-kernel processes (besides sh) which are > running. > > I know all this!!! > I KNEW chatter would start to go this way! > After compilation of kernel and world in MUM, kernel is installed in MUM, > but to install world, we reboot into SUM, then install world. (HANDBOOK) > Now, in case of GELI usage AND if upgrading is taking place, i.e; 8.2 -> > 8.3, 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!! > The only way to save yourself in that case is to restore /boot/kernel.old, > or one is doomed. > > So that is way, they both need to be installed in SUM, in one shot! Kernel > then world! > > But this is just a ONE example, of usage of THAT function! > Next time it won't be GELI case but something else. > And now I brag about encryption, compilation of world and kernel, bla, > bla..., what is NOT a subject, of this "thread" > > > DO YOU KNOW, what to look for, in sys that will indicate to my function, > that it is in SUM? Well, I give up. You aren't reading & thinking about what I'm writing. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C