From owner-freebsd-questions@FreeBSD.ORG Thu Aug 17 19:29:44 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C938F16A4DD for ; Thu, 17 Aug 2006 19:29:44 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94B6543D94 for ; Thu, 17 Aug 2006 19:29:27 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GDnYT-000Lph-3v; Thu, 17 Aug 2006 20:29:25 +0100 Date: Thu, 17 Aug 2006 20:29:25 +0100 From: Ceri Davies To: Dan Nelson Message-ID: <20060817192924.GA19758@submonkey.net> Mail-Followup-To: Ceri Davies , Dan Nelson , Jerry McAllister , danger@rulez.sk, questions@freebsd.org References: <1704275870.20060817201511@rulez.sk> <200608171858.k7HIw3fP015972@clunix.cl.msu.edu> <20060817191142.GK89500@submonkey.net> <20060817192129.GA30450@dan.emsphone.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <20060817192129.GA30450@dan.emsphone.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.12-2006-07-14 Sender: Ceri Davies Cc: Jerry McAllister , questions@freebsd.org, danger@rulez.sk Subject: Re: Wilfully dirtying a filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 19:29:44 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 17, 2006 at 02:21:30PM -0500, Dan Nelson wrote: > In the last episode (Aug 17), Ceri Davies said: > > On Thu, Aug 17, 2006 at 02:58:03PM -0400, Jerry McAllister wrote: > > > > Thursday, August 17, 2006, 6:55:08 PM, Ceri wrote: > > > > > I have a system on which /usr is slightly hosed, but not badly en= ough > > > > > for it to fail a preen fsck. > > > > > > > > > > I cannot easily get to single-user on this machine, so is there > > > > > a good way for me to dirty the filesystem just enough to force > > > > > "fsck -p" to fail (yanking power also difficult)? "umount -f > > > > > /usr; reboot" doesn't seem to work... > > >=20 > > > Is 'fsck -f' not a possibility? > >=20 > > No, because I can't unmount /usr. >=20 > What kind of setup do you have where you can't get to single-user mode, > but you apparently want fsck -p to fail (which will put you in > single-user mode)? fsck -p failing will drop back to fsck -y, which will fix the problem. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE5MOUocfcwTS3JF8RAubRAKCKKL55wLZpyTB73Sb4AHGHuwg7RACgj4Jw lPMo/s+MDbLSDswOshfs0C8= =h7oo -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--