Date: Thu, 17 Aug 2006 22:25:05 +0100 From: Ceri Davies <ceri@submonkey.net> To: Chris Whitehouse <chris@childeric.freeserve.co.uk> Cc: questions@freebsd.org Subject: Re: Wilfully dirtying a filesystem Message-ID: <20060817212504.GC19758@submonkey.net> In-Reply-To: <44E4D417.6070305@childeric.freeserve.co.uk> References: <1704275870.20060817201511@rulez.sk> <200608171858.k7HIw3fP015972@clunix.cl.msu.edu> <20060817191142.GK89500@submonkey.net> <44E4D417.6070305@childeric.freeserve.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 17, 2006 at 09:39:51PM +0100, Chris Whitehouse wrote: > Ceri Davies wrote: > >On Thu, Aug 17, 2006 at 02:58:03PM -0400, Jerry McAllister wrote: > >>>Hello Ceri, > >>> > >>>Thursday, August 17, 2006, 6:55:08 PM, you wrote: > >>> > >>>>I have a system on which /usr is slightly hosed, but not badly enough > >>>>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... > >> > >>Is 'fsck -f' not a possibility? > > > >No, because I can't unmount /usr. > > > >Ceri >=20 > clri (8) possibly? Too dangerous for my liking :) I inserted a "fsck -F -y" before the "fsck -F -p" in rc.d/fsck and rebooted; that got it. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE5N6wocfcwTS3JF8RAjOgAJ4u7XfbwZ3AT1wrlA1dR22pAinDlACgiRk1 gLx5C8bEoVd8jsOuePtaZoM= =9Kum -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060817212504.GC19758>