From owner-freebsd-stable Fri Jun 1 14:22:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from malkavian.org (malkavian.org [206.136.132.23]) by hub.freebsd.org (Postfix) with ESMTP id 33F3B37B424 for ; Fri, 1 Jun 2001 14:22:42 -0700 (PDT) (envelope-from rbw@myplace.org) Received: (from rbw@localhost) by malkavian.org (8.11.3/8.11.1) id f51LMHx68612; Fri, 1 Jun 2001 17:22:17 -0400 (EDT) (envelope-from rbw@myplace.org) Date: Fri, 1 Jun 2001 14:22:17 -0700 From: "brian j. peterson" To: Brooks Davis Cc: "Chad R. Larson" , freebsd-stable@FreeBSD.ORG, imp@village.org Subject: Re: problem with chflags Message-ID: <20010601142217.F30589@malkavian.org> Mail-Followup-To: Brooks Davis , "Chad R. Larson" , freebsd-stable@FreeBSD.ORG, imp@village.org References: <20010601100025.C30589@malkavian.org> <200106012006.NAA17049@freeway.dcfinc.com> <20010601135419.E30589@malkavian.org> <20010601140537.A24948@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010601140537.A24948@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Fri, Jun 01, 2001 at 02:05:37PM -0700 X-URL: http://rbw.myplace.org/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 01, 2001 at 02:05:37PM -0700, Brooks Davis wrote: > On Fri, Jun 01, 2001 at 01:54:19PM -0700, brian j. peterson wrote: > > correct me if i'm wrong, but shutdown(8) with no arguments should get the > > system into single user with all the filesystems still mounted and allow > > the 'make installworld' command to run without having to mess with > > mounting/remounting filesystems. > > This will get you to single user but the reboot step is absolutly > critical if you want you're system to complete the installworld every > time. To do an installworld safely, you must be running a new kernel > because the newly installed binaries may contain code that uses new > kernel features. This won't happen every time, but it has happened in > the past and UPDATING is generally supposed to be conservative. If we > really need to support people who don't know what to do in single user > mode, the correct thing is to add instructions to do: > > fsck -p > mount -a > > after the reboot into single user mode. that makes sense to me. (in my situation i had already rebooted with the new kernel when i had to dig myself out of the hole that was single user, so the point about a true reboot being necessary didn't really occur to me.) i'm obviously new to this, so i'll leave the actual change in methodology up to the experts. i just wanted to point out the problem i had and offer a potential fix. =) -brian -- --===-----=======-----------=============-----------------=================== | rbw aka bjp | god's final message to his creation: | | rbw@myplace.org | we apologize for the inconvenience. | ===================-----------------=============-----------=======-----===-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message