Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 11:38:38 -0600
From:      Mike Meyer <mwm-dated-1047922719.dbc225@mired.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        "W. J. Williams" <will@willardjwilliams.com>, Noel Balansag <pongkee@yahoo.com>, Tom Parquette <bcsfd204@twcny.rr.com>, questions@FreeBSD.ORG
Subject:   Re: how do i invoke the command "ee" or "vi" when system fails to load
Message-ID:  <15983.28830.191701.793806@guru.mired.org>
In-Reply-To: <20030312161236.GB5097@gothmog.gr>
References:  <3E6E775B.8070208@twcny.rr.com> <20030312070705.27076.qmail@web13509.mail.yahoo.com> <20030312161236.GB5097@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20030312161236.GB5097@gothmog.gr>, Giorgos Keramidas <keramida@ceid.upatras.gr> typed:
> Nah.  It's not a good idea to use "mount -a" before fsck.  The safest
> thing you can do if you haven't tinkered with the sizes and/or order
> of the partitions is to run:
> 
> 	# fsck -p && mount -u / && mount -va

I disagree. If the file systems were dismounted cleanly, then "fsck -p"
just verifies that, and does nothing. If they haven't dismounted
cleanly, then mount won't mount the file systems. Running "fsck -p"
just insures that the file systems will mount - unless they are really
badly damaged. You won't hurt anything if you skip the "fsck -p", you
just may have to run it then rerun the mount.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15983.28830.191701.793806>