From owner-freebsd-questions Wed Apr 5 18: 2:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hecky.it.northwestern.edu (hecky.acns.nwu.edu [129.105.16.51]) by hub.freebsd.org (Postfix) with ESMTP id 7BB3937B9E8 for ; Wed, 5 Apr 2000 18:02:49 -0700 (PDT) (envelope-from djkanter@nwu.edu) Received: (from mailnull@localhost) by hecky.it.northwestern.edu (8.8.7/8.8.7) id UAA13357 for ; Wed, 5 Apr 2000 20:02:31 -0500 (CDT) Received: from localhost.localdomain (dika-8-028124.nuts.nwu.edu [165.124.28.124]) by hecky.acns.nwu.edu via smap (V2.0) id xmaa13240; Wed, 5 Apr 00 20:02:06 -0500 Received: (from david@localhost) by localhost.localdomain (8.9.3/8.9.3) id RAA68628 for freebsd-questions@FreeBSD.ORG; Wed, 5 Apr 2000 17:16:21 -0500 (CDT) (envelope-from david) Date: Wed, 5 Apr 2000 17:16:21 -0500 From: "David J. Kanter" To: freebsd-questions@FreeBSD.ORG Subject: Re: Fsck on mounted filesystems Message-ID: <20000405171621.A67664@localhost.localdomain> References: <20000403192007.A59646@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from lowell@world.std.com on Wed, Apr 05, 2000 at 09:39:43AM -0400 X-Organization: Northwestern University X-Operating-System: FreeBSD localhost.localdomain 3.4-STABLE FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -- David Kanter djkanter@nwu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message