Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2001 14:22:17 -0700
From:      "brian j. peterson" <rbw@myplace.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        "Chad R. Larson" <chad@DCFinc.com>, freebsd-stable@FreeBSD.ORG, imp@village.org
Subject:   Re: problem with chflags
Message-ID:  <20010601142217.F30589@malkavian.org>
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
References:  <20010601100025.C30589@malkavian.org> <200106012006.NAA17049@freeway.dcfinc.com> <20010601135419.E30589@malkavian.org> <20010601140537.A24948@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010601142217.F30589>