Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 00:07:20 -0400
From:      Walter Brameld <brameld@twave.net>
To:        "David J. Kanter" <djkanter@nwu.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Fsck on mounted filesystems
Message-ID:  <00040600082100.02211@Bozo_3.BozoLand.domain>
In-Reply-To: <20000405171621.A67664@localhost.localdomain>
References:  <20000403192007.A59646@localhost.localdomain> <rd6og7oy8dc.fsf@world.std.com> <20000405171621.A67664@localhost.localdomain>

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




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