Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 10:08:37 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Ceri Davies <ceri@submonkey.net>
Cc:        questions@FreeBSD.org
Subject:   Re: Wilfully dirtying a filesystem
Message-ID:  <FD7AE985-752A-4FB1-B360-E91B1468F776@mac.com>
In-Reply-To: <20060817165508.GH89500@submonkey.net>
References:  <20060817165508.GH89500@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 17, 2006, at 9:55 AM, Ceri Davies wrote:
> 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...

Edit a file on /usr and leave the editor session going to make sure  
you've got an open file on that filesystem, then do a "reboot -nq"  
instead...

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD7AE985-752A-4FB1-B360-E91B1468F776>