From owner-freebsd-questions Wed Apr 5 20: 8:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.twave.net (twave.net [206.100.228.5]) by hub.freebsd.org (Postfix) with SMTP id 1231837B7E7 for ; Wed, 5 Apr 2000 20:08:37 -0700 (PDT) (envelope-from brameld@twave.net) Received: from [208.47.188.208] by mail.twave.net (NTMail 3.03.0018/1.abwg) with ESMTP id oa735840 for ; Wed, 5 Apr 2000 23:08:19 -0400 From: Walter Brameld To: "David J. Kanter" , freebsd-questions@FreeBSD.ORG Subject: Re: Fsck on mounted filesystems Date: Thu, 6 Apr 2000 00:07:20 -0400 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <20000403192007.A59646@localhost.localdomain> <20000405171621.A67664@localhost.localdomain> In-Reply-To: <20000405171621.A67664@localhost.localdomain> MIME-Version: 1.0 Message-Id: <00040600082100.02211@Bozo_3.BozoLand.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 05 Apr 2000, in a never-ending search for enlightenment, David J. Kanter wrote: > On Wed, Apr 05, 2000 at 09:39:43AM -0400, Lowell Gilbert wrote: > > Normally, if you really need to fsck on the run, you should shut down > > to single-user mode first, and dismount the filesystem. > > I don't see this clearly mentioned in the handbook. > > Quoting the makeworld.html page of the handbook: > > As the superuser, you can execute > # shutdown now > from a running system, which will drop it to single user mode. > > Alternatively, reboot the system, and at the boot prompt, enter the -s > flag. The system will then boot single user. At the shell prompt you > should then run: > # fsck -p > # mount -u / > # mount -a -t ufs > # swapon -a" > > I understand this as: do the shutdown now, then all the fsck and mount > stuff; or, reboot with the -s flag and then do all the fsck and mount stuff. > > If this isn't the case, then it should be more clearly outlined. That isn't the case. After shutdown now, your file systems are still mounted. -- Walter Brameld Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? Walter: And what does THIS button do?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message